SpecialDifferentiableExpression

interface SpecialDifferentiableExpression<T, out R : Expression<T>> : DifferentiableExpression<T>

A special type of DifferentiableExpression which returns typed expressions as derivatives.

Parameters

R

the type of expression this expression can be differentiated to.

Functions

derivativeOrNull
Link copied to clipboard
common
abstract override fun derivativeOrNull(symbols: List<Symbol>): R?
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.

Extensions

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

Sources

common source
Link copied to clipboard