operator / method

Expression operator /(
  1. EquationMember m
)

Creates a Expression by dividing this member by the argument. Both members may need to be hoisted to expressions themselves before this can occur.

Warning: This operation may throw a ParserException if the resulting expression is no longer linear. This is because a non-linear Expression may not be used to create a constraint. The divisor (i.e. the argument) must evaluate to a constant.

For example: ((left + right) / cm(2.0) >= mid declares a midpoint constraint. Notice that the divisor of the left hand Expression is a constant.

Implementation

Expression operator /(EquationMember m) => asExpression() / m;