On May 22, 6:23 am, roleic <[EMAIL PROTECTED]> wrote: > Mike, > what data format is used when sage exchanges symbolic math with math > packages like maxima, maple, mathematica? Maybe there is a converter > for one of these formats. > Roland
In each case, we use the native format of that package (the format you use to type formulas at the command line in that package). That is, we have converters from Sage->Maxima, Maxima->Sage, Sage->Maple, etc. (These converters are only partially complete; some Sage expressions will not successfully translate into expressions in the other packages, and some expressions in the other packages will not successfully translate back into Sage.) These conversions are available as foo._XXX_init(), for the appropriate "XXX"; for instance: sage: sin(x^2)._mathematica_init_() 'Sin[(x) ^ (2)]' The LaTeX conversion is implemented in a very similar way, with the _latex_ method: sage: sin(x^2)._latex_() '\\sin \\left( {x}^{2} \\right)' Carl --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---