Condition
From iMath
Revision as of 15:08, 8 July 2017 by Jrheinlaender (Talk | contribs) (Created page with "Conditions are currently only parsed within the context of the ifelse function. If the condition is an equation, take the difference of the left- and right-h...")
Conditions are currently only parsed within the context of the ifelse function.
If the condition is an equation, take the difference of the left- and right-hand-sides and interpret it according to the operator.
If the condition is an expression, interpret zero as false, anything greater than zero as true, and -1 as "not able to evaluate".
If the expression or equation cannot be evaluated, the result will be -1.