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 IElement EvaluateScalar(Complex Argument, Variables Variables)
Evaluates the function on a scalar argument.
ScriptNode Differentiate(string VariableName, Variables Variables)
Differentiates a script node, if possible.
Ln(ScriptNode Argument, int Start, int Length, Expression Expression)
Ln(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
Basic interface for all types of elements.
Base interface for lambda expressions.
string DefaultVariableName
Default variable name, if any, null otherwise.