DiscreteFieldOperators extension
Operators to perform arithmetic and comparisons between DiscreteFieldFunctions and int values or other DiscreteFieldFunctions.
In line with Dart conventions, DiscreteFieldOperators expect DiscreteFieldFunction as the left operand and the value as the right operand.
E.g. fieldFunction * 10.
Operators
-
operator *(
Object other) → DiscreteFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that multiplies, point-wise, this function's result byother, using DiscreteFieldFunction.multiplyByValue or DiscreteFieldFunction.multiplyByOtherField. -
operator +(
Object other) → DiscreteFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that adds, point-wise,otherto this function's result, using DiscreteFieldFunction.addValue or DiscreteFieldFunction.addOtherField. -
operator -(
Object other) → DiscreteFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that subtracts, point-wise,otherfrom this function's result, using DiscreteFieldFunction.subtractValue or DiscreteFieldFunction.subtractOtherField. -
operator /(
Object other) → DiscreteFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that divides, point-wise, this function's result byother, using DiscreteFieldFunction.divideByValue or DiscreteFieldFunction.divideByOtherField. -
operator <(
Object other) → BooleanFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that compares, point-wise, this function's result toother, using DiscreteFieldFunction.isLessThanValue or DiscreteFieldFunction.isLessThanOtherField. -
operator <=(
Object other) → BooleanFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that compares, point-wise, this function's result toother, using DiscreteFieldFunction.isLessThanOrEqualToValue or DiscreteFieldFunction.isLessThanOrEqualToOtherField. -
operator >(
Object other) → BooleanFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that compares, point-wise, this function's result toother, using DiscreteFieldFunction.isGreaterThanValue or DiscreteFieldFunction.isGreaterThanOtherField. -
operator >=(
Object other) → BooleanFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that compares, point-wise, this function's result toother, using DiscreteFieldFunction.isGreaterThanOrEqualToValue or DiscreteFieldFunction.isGreaterThanOrEqualToOtherField. -
operator unary-(
) → DiscreteFieldFunction -
Available on DiscreteFieldFunction, provided by the DiscreteFieldOperators extension
Composes a function that multiplies, point-wise, this function's result by -1.