KotlingradExpression

class KotlingradExpression<T : Number, A : NumericAlgebra<T>>(algebra: A, mst: MST) : SpecialDifferentiableExpression<T, KotlingradExpression<T, A>>

Represents MST based DifferentiableExpression relying on Kotlin∇.

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

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

Functions

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

Sources

jvm source
Link copied to clipboard