AngouriMath

Try it live

Navigation

← Back to list of members

FilterRoots​(AngouriMath.​Entity.​Set,​AngouriMath.​Entity,​AngouriMath.​Entity.​Variable)

 Method (no overloads)

Summary

roots where predicate holds, as
Filter(AngouriMath.Entity,AngouriMath.Entity.Variable), with the condition at an exact root decided
exactly.

Remarks

An equality of two numbers is decided under a tolerance of 1e-16, which a major
version is to change (https://github.com/asc-community/AngouriMath/issues/1019). A root is
a claim, though, and an exact one is not to be filtered by a rounding: x^0 is 1 where
x is not 0, and x - 10^-17 x^0 = 0 was { }, its root 10^-17 read as 0. So an equality between two sides that are exact numbers, and whose difference
evaluates to an exact rational, is decided by that rational being 0. A root in decimals,
or a side whose value is not a rational, is left to the filter.

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6038 pages online