Re: [sage-devel] matrix rational_form

2016-03-31 Thread VictorMiller
Hi William, Thanks for the reply. I see that decomposition probably does give info that I could use to get the transition matrix. I'll think about it. Victor PS. How massive is your iPhone 6 plus :-)? On Thursday, March 31, 2016 at 11:48:49 AM UTC-4, William wrote: > > > > On Thursday, Marc

Re: [sage-devel] matrix rational_form

2016-03-31 Thread William Stein
On Thursday, March 31, 2016, VictorMiller wrote: > 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 rati

[sage-devel] matrix rational_form

2016-03-31 Thread VictorMiller
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