(%i1) L:[[1e-5,2e-5],[3e-5,4e-5]]$
(%i2) printf (false, "~{~{(~h, ~h)~}~^, ~} ~%", L );
(%o2) (0.00001, 0.00002), (0.00003, 0.00004)
Sorry, I haven't written a doc yet. Some hints you'll find in the printf-rtest-file.
HTH
Volker van Nek
Am 13 Oct 2008 um 14:04 hat eric.reyssat at math.unicaen.fr geschrieben:
> Hi, I want to print the list
>
> L:[[1e-5,2e-5],[3e-5,4e-5]];
>
> as a string with parentheses instead of brackets, decimal rather than
> scientific
> notation, and no quotes around the numbers. Like this :
>
> (0.00001,0.00002),(0.00003,0.00004)
>
> I played around with printf, string, map but have not been able to
> obtain the desired result.
>
> Thanks in advance for any help.
>
>
> Eric Reyssat
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima