AngouriMath

Navigation

← Back to list of members

WithoutIterationNoise​(System.​Collections.​Generic.​HashSet{AngouriMath.​Entity.​Number.​Complex})

 Method (no overloads)

Summary

Rounds away the part of each root that the iteration cannot have got right.

Remarks

The iteration works in Complex, so a
component below roughly 1e-15 of the root is noise from the iteration and not
part of the answer. It matters because the search starts from a grid: the same
root reached from different starting points differs in those last digits, so
left in, the one real root of x^5 + 3x + 1 comes back as four different
complex numbers with imaginary parts around 1e-19. Rounded, they are one root
again, and the set collapses them.

























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