Differentiable Mst Expression
inline class DifferentiableMstExpression<T : Number, A : NumericAlgebra<T>>(expr: MstExpression<T, A>) : DifferentiableExpression<T, MstExpression<T, A>>
Content copied to clipboard
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
the NumericAlgebra of T.
Constructors
DifferentiableMstExpression
Link copied to clipboard
fun <A : NumericAlgebra<T>> DifferentiableMstExpression(algebra: A, mst: MST)
Content copied to clipboard
DifferentiableMstExpression
Link copied to clipboard
Functions
derivativeOrNull
Link copied to clipboard
open override fun derivativeOrNull(symbols: List<Symbol>): MstExpression<T, A>
Content copied to clipboard