DefScalarFunction
• DefScalarFunction[f] defines symbol f to be a scalar-function of a scalar argument.
• DefScalarFunction[f, n] defines symbol f to be a scalar-function of n scalar arguments.
• A scalar-function cannot have servants or objects.
• The number of arguments is stored as an upvalue for the function NumberOfArguments.
• Options:
Info {"scalar function",""} information on the scalar-function
Master Null master symbol of the scalar-function
PrintAs Identity string or function of symbol for output
ProtectNewSymbol $ProtectNewSymbols whether to protect new symbol or not
• The option PrintAs is currently not used.
• See: Section 5.5.
• See also: UndefScalarFunction.
• New in version 0.
• Last update: 26-X-2007 for version 0.9.3 of xTensor`.
Created by Mathematica (May 16, 2008) | ![]() |