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

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.

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

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

Link copied to clipboard