2using System.Collections.Generic;
35 if (
Operand.AssociatedObjectValue is
double d)
44 LinkedList<IElement> Result =
new LinkedList<IElement>();
49 return Operand.Encapsulate(Result,
this);
Script runtime exception.
Class managing a script expression.
Represents a constant element value.
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.
Base class for all unary operators.
ScriptNode Operand
Operand.
static readonly DoubleNumber TwoElement
2
static IElement EvaluateMultiplication(IElement Left, IElement Right, ScriptNode Node)
Multiplies two operands.
ScriptNode Differentiate(string VariableName, Variables Variables)
Differentiates a script node, if possible.
Square(ScriptNode Operand, int Start, int Length, Expression Expression)
Square operator.
override IElement Evaluate(IElement Operand, Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
Basic interface for all types of elements.
Basic interface for all types of ring elements.
Base interface for lambda expressions.