DifferentiableMstExpression

class DifferentiableMstExpression<T : Number, A : NumericAlgebra<T>>(algebra: A, mst: MST) : DifferentiableExpression<T, DifferentiableMstExpression<T, A>>

Represents wrapper of MstExpression implementing DifferentiableExpression.

The principle of this API is converting the mst to an SFun, differentiating it with Kotlin∇, then converting SFun back to MST.

Parameters

T

the type of number.

A

Constructors

DifferentiableMstExpression
Link copied to clipboard
fun <A : NumericAlgebra<T>> DifferentiableMstExpression(algebra: A, mst: MST)
the type of number.

Functions

derivativeOrNull
Link copied to clipboard
open override fun derivativeOrNull(symbols: List<Symbol>): DifferentiableMstExpression<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
mst
Link copied to clipboard
val mst: MST