Searched refs:psPrec (Results 1 – 1 of 1) sorted by relevance
/external/eigen/unsupported/test/ |
D | polynomialsolver.cpp | 118 const Scalar psPrec = sqrt( test_precision<Scalar>() ); in evalSolverSugarFunction() local 125 if( internal::isApprox( calc_realRoots[i], real_roots[j], psPrec ) ){ in evalSolverSugarFunction() 133 abs( psolve.greatestRoot() ), psPrec ) ); in evalSolverSugarFunction() 137 abs( psolve.smallestRoot() ), psPrec ) ); in evalSolverSugarFunction() 144 VERIFY( internal::isApprox( real_roots.array().abs().maxCoeff(), abs(r), psPrec ) ); } in evalSolverSugarFunction() 150 VERIFY( internal::isApprox( real_roots.array().abs().minCoeff(), abs( r ), psPrec ) ); } in evalSolverSugarFunction() 156 VERIFY( internal::isApprox( real_roots.array().maxCoeff(), r, psPrec ) ); } in evalSolverSugarFunction() 162 VERIFY( internal::isApprox( real_roots.array().minCoeff(), r, psPrec ) ); } in evalSolverSugarFunction()
|