SymjaExpression

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

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
constructor(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
Link copied to clipboard
val mst: MST

The MST node.