34 public override string[]
Aliases =>
new string[] {
"tr" };
46 int N = Math.Min(M.Columns, M.Rows);
50 for (i = 0; i < N; i++)
51 Elements[i] = M.GetElement(i, i);
Script runtime exception.
Class managing a script expression.
override string FunctionName
Name of the function
Trace(ScriptNode Argument, int Start, int Length, Expression Expression)
Trace(x)
override IElement Evaluate(IElement Argument, Variables Variables)
Evaluates the function.
override string[] Aliases
Optional aliases. If there are no aliases for the function, null is returned.
static IElement EvaluateSum(IVector Vector, ScriptNode Node)
Sums the elements of a vector.
Base class for funcions of one variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
Basic interface for all types of elements.
Basic interface for matrices.