Searched refs:real_roots (Results 1 – 3 of 3) sorted by relevance
/external/eigen/unsupported/test/ |
D | polynomialsolver.cpp | 93 …evalSolverSugarFunction( const POLYNOMIAL& pols, const ROOTS& roots, const REAL_ROOTS& real_roots ) in evalSolverSugarFunction() argument 112 VERIFY( calc_realRoots.size() == (size_t)real_roots.size() ); in evalSolverSugarFunction() 121 if( internal::isApprox( calc_realRoots[i], real_roots[j] ), psPrec ){ in evalSolverSugarFunction() 138 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() 140 VERIFY( internal::isApprox( real_roots.array().abs().maxCoeff(), abs(r), psPrec ) ); } in evalSolverSugarFunction() 144 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() 146 VERIFY( internal::isApprox( real_roots.array().abs().minCoeff(), abs( r ), psPrec ) ); } in evalSolverSugarFunction() 150 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() 152 VERIFY( internal::isApprox( real_roots.array().maxCoeff(), r, psPrec ) ); } in evalSolverSugarFunction() 156 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() [all …]
|
/external/opencv3/modules/calib3d/src/ |
D | p3p.cpp | 206 double real_roots[4]; in solve_for_lengths() local 207 int n = solve_deg4(A, B, C, D, E, real_roots[0], real_roots[1], real_roots[2], real_roots[3]); in solve_for_lengths() 218 double x = real_roots[i]; in solve_for_lengths()
|
/external/ceres-solver/internal/ceres/ |
D | polynomial_test.cc | 90 void RunPolynomialTestRealRoots(const double (&real_roots)[N], in RunPolynomialTestRealRoots() 98 poly = AddRealRoot(poly, real_roots[i]); in RunPolynomialTestRealRoots() 108 ExpectArraysClose(N, real.data(), real_roots, epsilon); in RunPolynomialTestRealRoots()
|