toMst

fun <X : SFun<X>> SVar<X>.toMst(): Symbol

Maps SVar to Symbol directly.

Receiver

The variable.


fun <X : SFun<X>> SConst<X>.toMst(): MST.Numeric

Maps SVar to MST.Numeric directly.

Receiver

The constant.

Return

A node.


fun <X : SFun<X>> SFun<X>.toMst(): MST

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:

Receiver

The scalar function.

Return

A node.