Home
last modified time | relevance | path

Searched refs:hardCase_polynomial (Results 1 – 1 of 1) sorted by relevance

/external/eigen/unsupported/doc/examples/
DPolynomialSolver1.cpp28 Eigen::Matrix<float,7,1> hardCase_polynomial; in main() local
29 hardCase_polynomial << in main()
31 cout << "Hard case polynomial defined by floats: " << hardCase_polynomial.transpose() << endl; in main()
32 PolynomialSolver<float,6> psolvef( hardCase_polynomial ); in main()
35 …for( int i=0; i<6; ++i ){ evals[i] = std::abs( poly_eval( hardCase_polynomial, psolvef.roots()[i] … in main()
40 PolynomialSolver<double,6> psolve6d( hardCase_polynomial.cast<double>() ); in main()
45 evals[i] = std::abs( poly_eval( hardCase_polynomial, castedRoot ) ); in main()