Lines Matching refs:roots

78 // Needed because the roots are not returned in sorted order.
85 // Run a test with the polynomial defined by the N real roots in roots_real.
141 const double roots[1] = { 42.42 };
142 RunPolynomialTestRealRoots(roots, true, true, kEpsilon);
146 const double roots[1] = { -42.42 };
147 RunPolynomialTestRealRoots(roots, true, true, kEpsilon);
151 const double roots[2] = { 1.0, 42.42 };
152 RunPolynomialTestRealRoots(roots, true, true, kEpsilon);
156 const double roots[2] = { -42.42, 1.0 };
157 RunPolynomialTestRealRoots(roots, true, true, kEpsilon);
161 const double roots[2] = { -42.42, -1.0 };
162 RunPolynomialTestRealRoots(roots, true, true, kEpsilon);
166 const double roots[2] = { 42.42, 42.43 };
167 RunPolynomialTestRealRoots(roots, true, false, kEpsilonLoose);
189 const double roots[4] = { 1.23e-4, 1.23e-1, 1.23e+2, 1.23e+5 };
190 RunPolynomialTestRealRoots(roots, true, true, kEpsilon);
194 const double roots[4] = { 1.23e-1, 2.46e-1, 1.23e+5, 2.46e+5 };
195 RunPolynomialTestRealRoots(roots, true, true, kEpsilonLoose);
199 const double roots[4] = { -42.42, 0.0, 0.0, 42.42 };
200 RunPolynomialTestRealRoots(roots, true, true, kEpsilonLoose);
204 const double roots[4] = { 0.0, 0.0, 0.0, 0.0 };
205 RunPolynomialTestRealRoots(roots, true, true, kEpsilon);
209 const double roots[4] = { 1.23e-4, 1.23e-1, 1.23e+2, 1.23e+5 };
210 RunPolynomialTestRealRoots(roots, true, false, kEpsilon);
214 const double roots[4] = { 1.23e-4, 1.23e-1, 1.23e+2, 1.23e+5 };
215 RunPolynomialTestRealRoots(roots, false, true, kEpsilon);
219 const double roots[4] = { 1.23e-4, 1.23e-1, 1.23e+2, 1.23e+5 };
220 RunPolynomialTestRealRoots(roots, false, false, kEpsilon);