SymjaExpression

class SymjaExpression<T : Number, A : NumericAlgebra<T>>(algebra: A, mst: MST, evaluator: ExprEvaluator) : SpecialDifferentiableExpression<T, SymjaExpression<T, A>>

Represents MST based space.kscience.kmath.expressions.DifferentiableExpression relying on Symja.

The principle of this API is converting the mst to an org.matheclipse.core.interfaces.IExpr, differentiating it with Symja's F.D, then converting org.matheclipse.core.interfaces.IExpr back to MST.

Parameters

T

The type of number.

A

Constructors

Link copied to clipboard
fun <A : NumericAlgebra<T>> SymjaExpression(algebra: A, mst: MST, evaluator: ExprEvaluator = DEFAULT_EVALUATOR)

Functions

Link copied to clipboard
open override fun derivativeOrNull(symbols: List<Symbol>): SymjaExpression<T, A>
Link copied to clipboard
open operator override fun invoke(arguments: Map<Symbol, T>): T

Properties

Link copied to clipboard
val algebra: A

The A instance.

Link copied to clipboard
val evaluator: ExprEvaluator
Link copied to clipboard
val mst: MST

The MST node.

Sources

Link copied to clipboard