AngouriMath

Navigation

← Back to list of members

IsZero​(AngouriMath.​Entity)

 Method (no overloads)

Summary

Whether a coefficient is the additive identity, and so whether its term should be
dropped.

Remarks

Decided on InnerSimplified rather than on
Simplify, which is the cheap end of a real trade: a
coefficient that vanishes only under full simplification survives as a term with a
zero coefficient. That is a tidiness cost and never a correctness one -- the term
contributes nothing either way -- and the caller may simplify first where it
matters.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1953 pages online