toSFun
Maps MST objects to SFun. Unsupported operations throw IllegalStateException.
Detailed mapping is:
MST.Numeric -> SConst;
MST.Symbolic -> SVar;
MST.Binary -> Sum, Prod, Power.
Return
a scalar function.
Parameters
<receiver>
the node.
proto
the prototype instance.