35 public override string[]
Aliases =>
new string[] {
"√" };
Class managing a script expression.
override string FunctionName
Name of the function
override IElement EvaluateScalar(double Argument, Variables Variables)
Evaluates the function on a scalar argument.
override string[] Aliases
Optional aliases. If there are no aliases for the function, null is returned.
ScriptNode Differentiate(string VariableName, Variables Variables)
Differentiates a script node, if possible.
override IElement EvaluateScalar(Complex Argument, Variables Variables)
Evaluates the function on a scalar argument.
Sqrt(ScriptNode Argument, int Start, int Length, Expression Expression)
Sqrt(x)
Represents a constant element value.
Base class for funcions of one scalar variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
ScriptNode DifferentiationChainRule(string VariableName, Variables Variables, ScriptNode Argument, ScriptNode Differentiation)
Implements the differentiation chain rule, by differentiating the argument and multiplying it to the ...
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
static readonly DoubleNumber ZeroElement
0
static readonly DoubleNumber TwoElement
2
Basic interface for all types of elements.
Base interface for lambda expressions.
string DefaultVariableName
Default variable name, if any, null otherwise.