compile

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

Compile given MST to expression and evaluate it against arguments


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

Compile given MST to expression and evaluate it against arguments.

Author

Iaroslav Postovalov