toMst
Maps SVar to Symbol directly.
Receiver
The variable.
Maps SVar to MST.Numeric directly.
Receiver
The constant.
Return
A node.
Maps SFun objects to MST. Some unsupported operations like Derivative are bound and converted then. Power operation is limited to constant right-hand side arguments.
Detailed mapping is:
SVar ->MstExtendedField.bindSymbol;
SConst ->MstExtendedField.number;
Sum ->MstExtendedField.add;
Prod ->MstExtendedField.multiply;
Power ->MstExtendedField.power (limited to constant exponents only);
Negative ->MstExtendedField.unaryMinus;
Log ->MstExtendedField.ln (left) / MstExtendedField.ln (right);
Sine ->MstExtendedField.sin;
Cosine ->MstExtendedField.cos;
Tangent ->MstExtendedField.tan;
DProd is vector operation, and it is requested to be evaluated;
SComposition is also requested to be evaluated eagerly;
VSumAll is requested to be evaluated;
Derivative is requested to be evaluated.
Receiver
The scalar function.
Return
A node.