Package space.kscience.kmath.ast
Types
Link copied to clipboard
better-parse implementation of grammar defined in the ArithmeticsEvaluator.g4.
Link copied to clipboard
MST form where all values belong to the type T. It is optimal for constant folding, dynamic compilation, etc.
Functions
Link copied to clipboard
Link copied to clipboard
fun <T : Any> TypedMst<T>.toExpression(algebra: Algebra<T>): Expression<T>
Content copied to clipboard
Interpret this TypedMst node as expression.
Link copied to clipboard
Tries to parse the string into MST using ArithmeticsEvaluator. Returns ParseResult representing expression or error.