MathOperator class abstract

Mathematical operator

Same as MathFunctionWithTwoArguments, but has different semantics by using left and right as arguments instead of numbered parameters

Implemented types
Implementers
Available Extensions

Constructors

MathOperator(MathNode left, MathNode right)
Creates a new mathematical operator
const

Properties

hashCode int
The hash code for this object.
no setterinherited
left MathNode
Operator's left operand
final
Operator's right operand
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calc(MathVariableValues values, {MathCustomFunctionsImplemented customFunctions}) num
Evaluate the expression
inherited
getUsedFreeformFunctions() Set<MathDefinitionFunctionFreeform>
Get mentioned custom defined functions that are required to evaluate the expression
override
getUsedVariables() Set<String>
Get mentioned variables that are required to evaluate the expression
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited