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

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

Functions

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

Properties

algebra
Link copied to clipboard
val algebra: A
The A instance.
evaluator
Link copied to clipboard
val evaluator: ExprEvaluator
mst
Link copied to clipboard
val mst: MST
The MST node.

Sources

jvm source
Link copied to clipboard