#13711: charpoly error on matrices with pi
----------------------------------+----------------------------
       Reporter:  eviatarbach     |        Owner:  jason, was
           Type:  defect          |       Status:  needs_work
       Priority:  major           |    Milestone:  sage-6.6
      Component:  linear algebra  |   Resolution:
       Keywords:                  |    Merged in:
        Authors:  Nils Bruin      |    Reviewers:  Eviatar Bach
Report Upstream:  N/A             |  Work issues:
         Branch:                  |       Commit:
   Dependencies:                  |     Stopgaps:
----------------------------------+----------------------------
Changes (by vdelecroix):

 * milestone:  sage-6.4 => sage-6.6


Comment:

 Just works fine on 6.6-rc2
 {{{
 sage: sage: matrix([[sqrt(2), -1], [pi, e^2]]).charpoly()
 x^2 + (-sqrt(2) - e^2)*x + pi + sqrt(2)*e^2
 }}}

 Migt be because symbolic constants are now element of the symbolic ring:
 {{{
 sage: type(pi)
 <type 'sage.symbolic.expression.Expression'>
 sage: pi.pyobject()
 pi
 sage: type(_)
 <class 'sage.symbolic.constants.Pi'>
 }}}

 Vincent

--
Ticket URL: <http://trac.sagemath.org/ticket/13711#comment:12>
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.

Reply via email to