2using System.Collections.Generic;
35 if (
Operand.AssociatedObjectValue is
double d)
47 LinkedList<IElement> Result =
new LinkedList<IElement>();
52 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 ThreeElement
3
Cube(ScriptNode Operand, int Start, int Length, Expression Expression)
Cube operator.
ScriptNode Differentiate(string VariableName, Variables Variables)
Differentiates a script node, if possible.
override IElement Evaluate(IElement Operand, Variables Variables)
Evaluates the node, using the variables provided in the Variables collection.
static IElement EvaluateMultiplication(IElement Left, IElement Right, ScriptNode Node)
Multiplies two operands.
Basic interface for all types of elements.
Basic interface for all types of ring elements.
Base interface for lambda expressions.