To create a new subscripted function use a statement of the following form.
f = new ScriptedFunction from { subscript => (x) -> ... }To create a new superscripted function use a statement of the following form.
f = new ScriptedFunction from { superscript => (x) -> ... }The subscript and superscript options can be combined to create a scripted function which accepts either a subscript or a superscript.
A good example of a subscripted function is identity.
See also ScriptedFunctor.
Go to main index.
Go to concepts index.