#12693: bug in jordan_form(transformation=true) for integer matrices
------------------------------+---------------------------------------------
   Reporter:  hthomas         |          Owner:  jason, was 
       Type:  defect          |         Status:  new        
   Priority:  major           |      Milestone:  sage-5.0   
  Component:  linear algebra  |       Keywords:  jordan form
Work_issues:                  |       Upstream:  N/A        
   Reviewer:                  |         Author:             
     Merged:                  |   Dependencies:             
   Stopgaps:                  |  
------------------------------+---------------------------------------------
 {{{
 sage: M=matrix(((2,2,2),(0,0,0),(-2,-2,-2)))
 sage: M.jordan_form(transformation=true)
 (
 [0 1|0]
 [0 0|0]  [ 2  1  1]
 [---+-]  [ 0  0  0]
 [0 0|0], [-2  0 -1]
 )
 }}}

 If the output from M.jordan_form(transformation=true) is J,P, then we are
 supposed to have J=P^-1^ M P.  The output here is obviously wrong, since P
 is not invertible (having a zero row).

 If you change the 2's to 1's and the -2's to -1's it works properly.

 This behaviour exists in 4.8 and 5.0beta5.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12693>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to