Lines Matching refs:poly
43 inline void setPolynomial( const OtherPolynomial& poly ){
44 m_roots.resize(poly.size()-1); }
48 inline PolynomialSolverBase( const OtherPolynomial& poly ){
49 setPolynomial( poly() ); }
345 void compute( const OtherPolynomial& poly )
347 eigen_assert( Scalar(0) != poly[poly.size()-1] );
348 eigen_assert( poly.size() > 1 );
349 if(poly.size() > 2 )
351 internal::companion<Scalar,_Deg> companion( poly );
356 else if(poly.size () == 2)
359 m_roots[0] = -poly[0]/poly[1];
365 inline PolynomialSolver( const OtherPolynomial& poly ){
366 compute( poly ); }
386 void compute( const OtherPolynomial& poly )
388 eigen_assert( poly.size() == 2 );
389 eigen_assert( Scalar(0) != poly[1] );
390 m_roots[0] = -poly[0]/poly[1];
395 inline PolynomialSolver( const OtherPolynomial& poly ){
396 compute( poly ); }