DifferentiableExpression

interface DifferentiableExpression<T> : Expression<T>

Represents expression, which structure can be differentiated.

Parameters

T

the type this expression takes as argument and returns.

Functions

derivativeOrNull
Link copied to clipboard
common
abstract fun derivativeOrNull(symbols: List<Symbol>): Expression<T>?
Differentiates this expression by ordered collection of symbols.
invoke
Link copied to clipboard
common
abstract operator fun invoke(arguments: Map<Symbol, T>): T
Calls this expression from arguments.

Inheritors

SpecialDifferentiableExpression
Link copied to clipboard
FirstDerivativeExpression
Link copied to clipboard

Extensions

derivative
Link copied to clipboard
common
fun <T> DifferentiableExpression<T>.derivative(symbols: List<Symbol>): Expression<T>
fun <T> DifferentiableExpression<T>.derivative(vararg symbols: Symbol): Expression<T>
fun <T> DifferentiableExpression<T>.derivative(name: String): Expression<T>

Sources

common source
Link copied to clipboard