Searched refs:real_roots (Results 1 – 1 of 1) sorted by relevance
/external/eigen/unsupported/test/ |
D | polynomialsolver.cpp | 96 …evalSolverSugarFunction( const POLYNOMIAL& pols, const ROOTS& roots, const REAL_ROOTS& real_roots ) in evalSolverSugarFunction() argument 116 VERIFY( calc_realRoots.size() == (size_t)real_roots.size() ); in evalSolverSugarFunction() 125 if( internal::isApprox( calc_realRoots[i], real_roots[j], psPrec ) ){ in evalSolverSugarFunction() 142 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() 144 VERIFY( internal::isApprox( real_roots.array().abs().maxCoeff(), abs(r), psPrec ) ); } in evalSolverSugarFunction() 148 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() 150 VERIFY( internal::isApprox( real_roots.array().abs().minCoeff(), abs( r ), psPrec ) ); } in evalSolverSugarFunction() 154 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() 156 VERIFY( internal::isApprox( real_roots.array().maxCoeff(), r, psPrec ) ); } in evalSolverSugarFunction() 160 VERIFY( hasRealRoot == (real_roots.size() > 0 ) ); in evalSolverSugarFunction() [all …]
|