FirstDerivativeExpression

A DifferentiableExpression that defines only first derivatives

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

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

Differentiates this expression by ordered collection of symbols.

abstract fun derivativeOrNull(symbol: Symbol): Expression<T>?

Returns first derivative of this expression by given symbol.

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.