#13711: charpoly error on matrices with pi
-------------------------+-------------------------------------------------
Reporter: | Owner: jason, was
eviatarbach | Status: needs_review
Type: | Milestone: sage-6.6
defect | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
linear algebra | Work issues:
Keywords: | Commit:
Authors: | 005cd02119165e28b2c7a9ae784e447289cfe859
Vincent Delecroix | Stopgaps:
Report Upstream: N/A |
Branch: |
public/13711 |
Dependencies: |
-------------------------+-------------------------------------------------
Changes (by {'newvalue': u'Vincent Delecroix', 'oldvalue': u'Nils Bruin'}):
* status: needs_work => needs_review
* author: Nils Bruin => Vincent Delecroix
* branch: => public/13711
* commit: => 005cd02119165e28b2c7a9ae784e447289cfe859
* reviewer: Eviatar Bach =>
Old description:
> Sage returns an error when attempting to calculate the characteristic
> polynomial of a matrix with pi:
>
> {{{
> sage: matrix([[sqrt(2), -1], [1, e^2]]).charpoly()
> x^2 + (-sqrt(2) - e^2)*x + sqrt(2)*e^2 + 1
> sage: matrix([[sqrt(2), -1], [pi, e^2]]).charpoly()
> TypeError
> }}}
New description:
Sage returns an error when attempting to calculate the characteristic
polynomial of a matrix with pi:
{{{
sage: matrix([[sqrt(2), -1], [1, e^2]]).charpoly()
x^2 + (-sqrt(2) - e^2)*x + sqrt(2)*e^2 + 1
sage: matrix([[sqrt(2), -1], [pi, e^2]]).charpoly()
TypeError
}}}
This is fixed in sage-6.6. The branch just add a doctest to the method
charpoly of symbolic matrices.
--
Comment:
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=005cd02119165e28b2c7a9ae784e447289cfe859
005cd02]||{{{Trac 13711: add a doctest to the method charpoly}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/13711#comment:13>
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.