MOOperation

Undocumented in source.

Constructors

this
this(MOOpType inop, IMathObject[] ops)

Constructor that takes pre-parsed objects and an op

this
this()

Empty constructor

this
this(string c)

Constructor taking an operation

Members

Functions

doAdd
real doAdd(real accum, real add)
Undocumented in source. Be warned that the author may not have intended to support it.
doMul
real doMul(real accum, real mul)
Undocumented in source. Be warned that the author may not have intended to support it.
evaluate
real evaluate(real[string] vars)

Return the numeric data represented by this node.

flatten
void flatten()
Undocumented in source. Be warned that the author may not have intended to support it.
parse
void parse(string source)

This function parses a set of nodes out of an equation string.

simplify
IMathObject simplify(real[string] vars)

Return the simplification of this node (where possible).

toString
string toString()

Return the string that was used to generate this node.

Variables

op
MOOpType op;
Undocumented in source.
operands
IMathObject[] operands;
Undocumented in source.

Inherited Members

From IMathObject

parse
void parse(string input)
Undocumented in source.
toString
string toString()
Undocumented in source.
evaluate
real evaluate(real[string] vars)
Undocumented in source.
simplify
IMathObject simplify(real[string] vars)
Undocumented in source.

Meta