nonZeroSols = nonZeroFilter(sols,k,tol)
A solution has its k-th coordinate non-zero when the abs function evaluates to a number greater than the given tolerance.
|
|
|
|
|
|
Here is another system where we filter solutions with `large enough' first coordinate:
|
|
|
|
|
Good values for the tolerance are relative to the accuracy and the condition number of the solution. To improve the accuracy of a solution, apply refineSolutions with a higher working precision.
The method returns the complement of the result of zeroFilter.
The object nonZeroFilter is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/PHCpack/PHCpackDoc.m2:805:0.