An expression represents a concept whose value depends on one or more unknowns (variables). That "value" can be evaluated given the value(s) of the unknown(s). More abstractly, an expression is some combination of constants and variables to represent a quantity whose value depends on the values of the variables it depends on.
As defined earlier, an expression is some combination of variables and constants. The thing which connects those bits together are operators. The Expression interface uses a tree structure to store the different operations which must be carried out on the operands. The postfix form of this tree would be identical to the postfix notation of the mathematical expression this object represents.
The operand for this.op
.
Set
of Variable
quantities this
depends on.
The left hand side operand for this.op
.
Array of Evaluable
quantity/quantities this.op
operates on.
The kind of physical quantity this
implements.
The right hand side operand for this.op
.
Checks whether this
expression object depends on the given Variable
.
Generated using TypeDoc
An expression represents a concept whose value depends on one or more unknowns (variables). That "value" can be evaluated given the value(s) of the unknown(s). More abstractly, an expression is some combination of constants and variables to represent a quantity whose value depends on the values of the variables it depends on.
As defined earlier, an expression is some combination of variables and constants. The thing which connects those bits together are operators. The Expression interface uses a tree structure to store the different operations which must be carried out on the operands. The postfix form of this tree would be identical to the postfix notation of the mathematical expression this object represents.