compile

inline fun <T : Any> MST.compile(algebra: Algebra<T>, arguments: Map<Symbol, T>): T
inline fun <T : Any> MST.compile(algebra: Algebra<T>, vararg arguments: Pair<Symbol, T>): T

Compile given MST to expression and evaluate it against arguments


fun MST.compile(algebra: IntRing, arguments: Map<Symbol, Int>): Int
fun MST.compile(algebra: IntRing, vararg arguments: Pair<Symbol, Int>): Int
fun MST.compile(algebra: LongRing, arguments: Map<Symbol, Long>): Long
fun MST.compile(algebra: LongRing, vararg arguments: Pair<Symbol, Long>): Long
fun MST.compile(algebra: DoubleField, arguments: Map<Symbol, Double>): Double
fun MST.compile(algebra: DoubleField, vararg arguments: Pair<Symbol, Double>): Double

Compile given MST to expression and evaluate it against arguments.

Author

Iaroslav Postovalov