Type alias NumericMapFunc<ParamLength>

NumericMapFunc<ParamLength>: ((...params) => number)

represents a scalar mathematical function of ParamLength number of input parameters (or variables)
for instance, a scalar addition function is merely a mapping from domains $X,Y \in \R$ to $Z \in \R$: $\text{Add} : X \times Y \rightarrow Z$

const add_func: NumericMapFunc<2> = (x, y) => x + y

Type Parameters

  • ParamLength extends number

Type declaration

Generated using TypeDoc