I think you have to specify what you want..
do you want a sequence of assignment statements?
If so, try something like
for i:=0 to 10 do print ("m[",i,"]=", stringout(m[i]),";")
I don't know what you want to do regarding fortran vs. C.
maybe x^2 becomes pow(x,2)?
What problems are you facing?
RJF
Daniel Martins wrote:
>
> Maybe this is a rather silly question.
>
> How can I export an expression, or a matrix, directly to C ??
>
> I just want to copy and paste my expressions, in special matrices,
> into a C program.
>
> I know that the fortran routine works nicely for fortran programs but
> I would like to minimise the trouble of converting from fortran to C.
>
> Daniel
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>