Opened 10 years ago
Last modified 7 years ago
#11751 closed defect
make free_module_generic_pid also work for pid's other then integers — at Version 1
Reported by: | mderickx | Owned by: | jason, was |
---|---|---|---|
Priority: | major | Milestone: | sage-4.7.2 |
Component: | linear algebra | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Before this patch the following code would fail horribly
sage: R.<x>=QQ[] sage: L=R^{1 sage: a=L.span([(1/x,)]) sage: a Free module of degree 1 and rank 1 over Univariate Polynomial Ring in x over Rational Field Echelon basis matrix: [1/x] sage: b=L.span([(1/x,)]) sage: a(b.gens()[0]) (1/x) sage: L2 = R}2 sage: L2.span((x^2+x)/(x^2-3*x+2),1/5],[(x^2+2*x)/(x^2-4*x+3),x?) Free module of degree 2 and rank 2 over Univariate Polynomial Ring in x over Rational Field Echelon basis matrix: [x/(x^{3 - 6*x}2 + 11*x - 6) 2/15*x^{2 - 17/75*x - 1/75] [ 0 x}3 - 11/5*x^{2 - 3*x + 4/5] }
Change History (2)
Changed 10 years ago by
comment:1 Changed 10 years ago by
- Description modified (diff)