The method rational_form for matrices just returns the class representative 
of the conjugacy class of a matrix by other rational matrices.  A similar 
function PrimaryRationalForm in magma returns 3 things -- the class 
representative, a rational matrix which, when conjugated by the input, 
gives the representative, and a list of pairs: irreducible polynomial and 
multplicity.  It would be nice if SAGE could return the same things as an 
option.  The third one is easy to reconstruct from SAGE's output (since it 
outputs a subdivided matrix), but the second one isn't

Victor

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to