Expression

fun fun interface Expression<T>

An elementary function that could be invoked on a map of arguments.

Parameters

T

the type this expression takes as argument and returns.

Functions

invoke
Link copied to clipboard
common
abstract operator fun invoke(arguments: Map<Symbol, T>): T
Calls this expression from arguments.

Inheritors

DifferentiableExpression
Link copied to clipboard

Extensions

invoke
Link copied to clipboard
common
operator fun <T> Expression<T>.invoke(): T
Calls this expression without providing any arguments.
@JvmName(name = callBySymbol)
operator fun <T> Expression<T>.invoke(vararg pairs: Pair<Symbol, T>): T
Calls this expression from arguments.
@JvmName(name = callByString)
operator fun <T> Expression<T>.invoke(vararg pairs: Pair<String, T>): T
Calls this expression from arguments.

Sources

common source
Link copied to clipboard