DifferentiableExpression

Represents expression, which structure can be differentiated.

Parameters

T

the type this expression takes as argument and returns.

Inheritors

Functions

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

Differentiates this expression by ordered collection of symbols.

Link copied to clipboard
abstract operator 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.