![]() |
Eigen-unsupported
5.0.1-dev
|
This module provides a QR based polynomial solver.
To use this module, add
at the start of your source file.
Classes | |
| class | Eigen::PolynomialSolver< Scalar_, Deg_ > |
| A polynomial solver. More... | |
| class | Eigen::PolynomialSolverBase< Scalar_, Deg_ > |
| Defined to be inherited by polynomial solvers: it provides convenient methods such as. More... | |
Functions | |
| template<typename Polynomial> | |
| NumTraits< typenamePolynomial::Scalar >::Real | Eigen::cauchy_max_bound (const Polynomial &poly) |
| template<typename Polynomial> | |
| NumTraits< typenamePolynomial::Scalar >::Real | Eigen::cauchy_min_bound (const Polynomial &poly) |
| template<typename Polynomials, typename T> | |
| T | Eigen::poly_eval (const Polynomials &poly, const T &x) |
| template<typename Polynomials, typename T> | |
| T | Eigen::poly_eval_horner (const Polynomials &poly, const T &x) |
| template<typename RootVector, typename Polynomial> | |
| void | Eigen::roots_to_monicPolynomial (const RootVector &rv, Polynomial &poly) |
|
inline |
| [in] | poly | : the vector of coefficients of the polynomial ordered by degrees i.e. poly[i] is the coefficient of degree i of the polynomial e.g. \( 1 + 3x^2 \) is stored as a vector \( [ 1, 0, 3 ] \). |
|
inline |
| [in] | poly | : the vector of coefficients of the polynomial ordered by degrees i.e. poly[i] is the coefficient of degree i of the polynomial e.g. \( 1 + 3x^2 \) is stored as a vector \( [ 1, 0, 3 ] \). |
|
inline |
| [in] | poly | : the vector of coefficients of the polynomial ordered by degrees i.e. poly[i] is the coefficient of degree i of the polynomial e.g. \( 1 + 3x^2 \) is stored as a vector \( [ 1, 0, 3 ] \). |
| [in] | x | : the value to evaluate the polynomial at. |
|
inline |
| [in] | poly | : the vector of coefficients of the polynomial ordered by degrees i.e. poly[i] is the coefficient of degree i of the polynomial e.g. \( 1 + 3x^2 \) is stored as a vector \( [ 1, 0, 3 ] \). |
| [in] | x | : the value to evaluate the polynomial at. |
| void Eigen::roots_to_monicPolynomial | ( | const RootVector & | rv, |
| Polynomial & | poly ) |
Given the roots of a polynomial compute the coefficients in the monomial basis of the monic polynomial with same roots and minimal degree. If RootVector is a vector of complexes, Polynomial should also be a vector of complexes.
| [in] | rv | : a vector containing the roots of a polynomial. |
| [out] | poly | : the vector of coefficients of the polynomial ordered by degrees i.e. poly[i] is the coefficient of degree i of the polynomial e.g. \( 3 + x^2 \) is stored as a vector \( [ 3, 0, 1 ] \). |