Lines Matching defs:deg
30 template<int Deg, typename POLYNOMIAL, typename SOLVER>
37 typedef Matrix<Scalar,Deg,1> EvalRootsType;
39 const Index deg = pols.size()-1;
43 EvalRootsType evr( deg );
78 template<int Deg, typename POLYNOMIAL>
83 typedef PolynomialSolver<Scalar, Deg > PolynomialSolverType;
86 aux_evalSolver<Deg, POLYNOMIAL, PolynomialSolverType>( pols, psolve );
92 template< int Deg, typename POLYNOMIAL, typename ROOTS, typename REAL_ROOTS >
98 typedef PolynomialSolver<Scalar, Deg > PolynomialSolverType;
101 if( aux_evalSolver<Deg, POLYNOMIAL, PolynomialSolverType>( pols, psolve ) )
109 typedef PolynomialSolver<Scalar, Deg > PolynomialSolverType;
166 void polynomialsolver(int deg)
173 PolynomialType pols = PolynomialType::Random(deg+1);
178 EvalRootsType allRoots = EvalRootsType::Constant(deg,multipleRoot);
183 EvalRootsType realRoots = EvalRootsType::Random(deg);