MathLib.Expression()

MathLib.Expression is MathLib's implementation of symbolic expressions.

Properties

.constructor
The function MathLib.Expression
.type
The string "expression"

Methods

.compare()
A compare method for expressions.
.evaluate()
Evaluates the expression.
.toContentMathML()
Returns a content MathML representation of the expression as string.
.toLaTeX()
Returns a LaTeX representation of the expression as string.
.toMathML()
Returns a (presentation) MathML representation of the expression as string.
.toString()
Returns a representation of the expression as string.

Static methods

.parse()
Parses a string and returns an expression.