OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:polynomial
(Results
1 - 2
of
2
) sorted by null
/external/eigen/unsupported/doc/examples/
PolynomialUtils1.cpp
11
Eigen::Matrix<double,5,1>
polynomial
;
local
12
roots_to_monicPolynomial( roots,
polynomial
);
13
cout << "
Polynomial
: ";
14
for( int i=0; i<4; ++i ){ cout <<
polynomial
[i] << ".x^" << i << "+ "; }
15
cout <<
polynomial
[4] << ".x^4" << endl;
18
evaluation[i] = poly_eval(
polynomial
, roots[i] ); }
19
cout << "Evaluation of the
polynomial
at the roots: " << evaluation.transpose();
PolynomialSolver1.cpp
14
Eigen::Matrix<double,6,1>
polynomial
;
local
15
roots_to_monicPolynomial( roots,
polynomial
);
17
PolynomialSolver<double,5> psolve(
polynomial
);
31
cout << "Hard case
polynomial
defined by floats: " << hardCase_polynomial.transpose() << endl;
36
cout << "Norms of the evaluations of the
polynomial
at the roots: " << evals.transpose() << endl << endl;
47
cout << "Norms of the evaluations of the
polynomial
at the roots: " << evals.transpose() << endl << endl;
Completed in 376 milliseconds