#13711: charpoly error on matrices with pi
----------------------------------+-----------------------------------------
       Reporter:  eviatarbach     |         Owner:  jason, was
           Type:  defect          |        Status:  new       
       Priority:  major           |     Milestone:  sage-5.10 
      Component:  linear algebra  |    Resolution:            
       Keywords:                  |   Work issues:            
Report Upstream:  N/A             |     Reviewers:            
        Authors:                  |     Merged in:            
   Dependencies:                  |      Stopgaps:            
----------------------------------+-----------------------------------------

Comment (by eviatarbach):

 Okay, I think I found the source of the error; Sage tries to coerce the
 pyobjects of the symbolic constants into the Symbolic Ring, which doesn't
 work:

 {{{
 sage: SR(pi.pyobject())
 TypeError
 sage: SR(euler_gamma.pyobject())
 TypeError
 }}}

 What would be the best way to fix this? It seems to be quite a major
 problem, since characteristic polynomials cannot at the moment be computed
 for any matrices with symbolic constants (it does work for `e`, since it
 is defined differently, and `golden_ratio`, since it is replaced with its
 numerical value before running into this error).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13711#comment:1>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to