Package space.kscience.kmath.wasm

Functions

Link copied to clipboard
fun MST.compile(algebra: DoubleField, vararg arguments: Pair<Symbol, Double>): Double
fun MST.compile(algebra: DoubleField, arguments: Map<Symbol, Double>): Double
fun MST.compile(algebra: IntRing, vararg arguments: Pair<Symbol, Int>): Int
fun MST.compile(algebra: IntRing, arguments: Map<Symbol, Int>): Int

Compile given MST to expression and evaluate it against arguments.

Link copied to clipboard
fun MST.compileToExpression(algebra: DoubleField): Expression<Double>
fun MST.compileToExpression(algebra: IntRing): IntExpression

Create a compiled expression with given MST and given algebra.