Matrix file conversion into Octave, Maxima, and GP/PARI

The following commands convert the matrix file src created by ``msave'', ``RDOsave'', or ``PTsave'' into the file dst with the format of Octave, Maxima, and GP/PARI respectively.
conv-octave (src, dst);
conv-maxima (src, dst);
conv-gp (src, dst);

Example:

The matrix file mfile0

(0 0 0 0 0 0 0 0)(0 -2.439696962e-01 4.200000000e-01+4.200000000e-01i 0 0 0 0 0)
(0 4.200000000e-01-4.200000000e-01i 9.439696962e-01 0 0 0 0 0)(0 0 0 0 0 0 0 0)(
0 0 0 0 0 0 0 0)(0 0 0 0 0 -1.045584412e-01 0 -1.800000000e-01-1.800000000e-01i)
(0 0 0 0 0 0 0 0)(0 0 0 0 0 -1.800000000e-01+1.800000000e-01i 0 4.045584412e-01)
is converted by the command
conv-octave(mfile0, mfile0.octave);
to the file mfile0.octave
[0,0,0,0,0,0,0,0;0,-2.439696962e-01,4.200000000e-01+4.200000000e-01i,0,0,0,0,0;0
,4.200000000e-01-4.200000000e-01i,9.439696962e-01,0,0,0,0,0;0,0,0,0,0,0,0,0;0,0,
0,0,0,0,0,0;0,0,0,0,0,-1.045584412e-01,0,-1.800000000e-01-1.800000000e-01i;0,0,0
,0,0,0,0,0;0,0,0,0,0,-1.800000000e-01+1.800000000e-01i,0,4.045584412e-01]


root
2004-06-15