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

Link copied to clipboard
fun <A : NumericAlgebra<T>> KotlingradExpression(algebra: A, mst: MST)

Functions

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

The MST node.

Sources

Link copied to clipboard