Home | History | Annotate | Download | only in test

Lines Matching full:roots

42   const RootsType& roots( psolve.roots() );
44 for( int i=0; i<roots.size(); ++i ){
45 evr[i] = std::abs( poly_eval( pols, roots[i] ) ); }
52 cerr << "Roots found: " << roots.transpose() << endl;
53 cerr << "Abs value of the polynomial at the roots: " << evr.transpose() << endl;
57 std::vector<Scalar> rootModuli( roots.size() );
58 Map< EvalRootsType > aux( &rootModuli[0], roots.size() );
59 aux = roots.array().abs();
92 template< int Deg, typename POLYNOMIAL, typename ROOTS, typename REAL_ROOTS >
93 void evalSolverSugarFunction( const POLYNOMIAL& pols, const ROOTS& roots, const REAL_ROOTS& real_roots )
103 // 1) the roots found are correct
104 // 2) the roots have distinct moduli
132 VERIFY( internal::isApprox( roots.array().abs().maxCoeff(),
136 VERIFY( internal::isApprox( roots.array().abs().minCoeff(),