Hi,
I have the following problem : I need to create a random matrix
(easily done under Octave), make some transformations on it (Octave)
to transform it in two integer valued matrices and then apply a Smith
form reduction to these two matrices (easliy done in GAP). I know
there is an interface between SAGE and Octave and SAGE and GAP, but i
didn't find how to input the output of the Octave functions into GAP.
In brief, I would like to do something like

[M1,M2]=octave.eval("random_matrix(some param)")
%%% I need to have the two matrices simultaneaously since      they
are based on a random algorithm and the alea %%%must be the same for
the two

N1=gap.eval(smith(M1))
N2=gap.eval(smith(M2))


I didn't succeed even in the first line, any idea ?

Thanks,


--~--~---------~--~----~------------~-------~--~----~
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-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to