#11751: make free_module_generic_pid also work for pid's other than integers
-------------------------------------+-------------------------------------
Reporter: mderickx | Owner: jason, was
Type: defect | Status: closed
Priority: major | Milestone: sage-4.7.2
Component: linear algebra | Resolution: fixed
Keywords: | Merged in: sage-4.7.2.alpha3
Authors: Maarten Derickx, | Reviewers: Julian Rueth, Maarten
Julian Rueth | Derickx
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Old description:
> Before this patch the following code would fail
> {{{
> sage: R.<x>=QQ[]
> sage: L=R^1
> sage: L.span([(1/x,)])
> TypeError
> }}}
>
> Now it works
> {{{
> sage: R.<x>=QQ[]
> sage: L=R^1
> sage: L.span([(1/x,)])
> Free module of degree 1 and rank 1 over Univariate Polynomial Ring in x
> over Rational Field
> Echelon basis matrix:
> [1/x]
> }}}
>
> ----
>
> Apply
> 1. [attachment:11751_free_module_generic_pid-fix.patch]
> 1. [attachment:trac_11751_free_module_generic_pid-review.patch]
> 1. [attachment:trac_11751_whitespace.patch]
> to the Sage library.
New description:
Before this patch the following code would fail
{{{
sage: R.<x> = QQ[]
sage: L = R^1
sage: M = L.span([[1/x]])
sage: M([1/x])
}}}
----
Apply
1. [attachment:11751_free_module_generic_pid-fix.patch]
1. [attachment:trac_11751_free_module_generic_pid-review.patch]
1. [attachment:trac_11751_whitespace.patch]
to the Sage library.
--
Comment (by jdemeyer):
ok, I get it now. The issue is more complex than what the description
shows.
--
Ticket URL: <http://trac.sagemath.org/ticket/11751#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.