SimpleAutoDiffExpression

A constructs that creates a derivative structure with required order on-demand

Constructors

Link copied to clipboard
constructor(field: F, function: SimpleAutoDiffField<T, F>.() -> AutoDiffValue<T>)

Functions

Link copied to clipboard
override fun derivativeOrNull(symbols: List<Symbol>): Expression<T>?

Differentiates this expression by ordered collection of symbols.

open override fun derivativeOrNull(symbol: Symbol): Expression<T>

Returns first derivative of this expression by given symbol.

Link copied to clipboard
open operator override fun invoke(arguments: Map<Symbol, T>): T

Calls this expression from arguments.

Link copied to clipboard
operator fun <T> Expression<T>.invoke(): T

Calls this expression without providing any arguments.

@JvmName(name = "callByString")
operator fun <T> Expression<T>.invoke(vararg pairs: Pair<String, T>): T
@JvmName(name = "callBySymbol")
operator fun <T> Expression<T>.invoke(vararg pairs: Pair<Symbol, T>): T

Calls this expression from arguments.

Properties

Link copied to clipboard
val field: F
Link copied to clipboard