latex SciMax Toolbox maxevalf

SciMax Toolbox >> mathml

mathml

Converts an expression in MathML

Calling Sequence

mml=mathml(x)

Parameters

x

can be of type int, double, complex, string, sym, polynomial

mml

is a string containing MathML code corresponding to the expression.

Description

This function uses the function mathml in the Maxima's package lurkmathml.

You can use the global variable xml_en_tete to put the en-tete required for xml file.

Examples

Syms(['x'])
e=mathml(expand((x+1)^3))
mputl([xml_en_tete;e],TMPDIR+'/formula.xml')

Author

See also

latex SciMax Toolbox maxevalf