MathOperatorDivision class

Division operator (/)

Left operand is dividend, right is divider. This expression evaluates to the the quotient of these two.

Inheritance
Available Extensions

Constructors

MathOperatorDivision(MathNode left, MathNode right)
Creates division operator
const

Properties

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

Methods

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

Operators

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

Static Methods

withSimplifying(MathNode left, MathNode right) MathNode
Division with simplification of unary operations