![]() |
Eigen-unsupported
3.3.3
|
Defined to be inherited by polynomial solvers: it provides convenient methods such as.
It stores the set of roots as a vector of complexes.
Public Member Functions | |
const RealScalar & | absGreatestRealRoot (bool &hasArealRoot, const RealScalar &absImaginaryThreshold=NumTraits< Scalar >::dummy_precision()) const |
const RealScalar & | absSmallestRealRoot (bool &hasArealRoot, const RealScalar &absImaginaryThreshold=NumTraits< Scalar >::dummy_precision()) const |
const RealScalar & | greatestRealRoot (bool &hasArealRoot, const RealScalar &absImaginaryThreshold=NumTraits< Scalar >::dummy_precision()) const |
const RootType & | greatestRoot () const |
template<typename Stl_back_insertion_sequence > | |
void | realRoots (Stl_back_insertion_sequence &bi_seq, const RealScalar &absImaginaryThreshold=NumTraits< Scalar >::dummy_precision()) const |
const RootsType & | roots () const |
const RealScalar & | smallestRealRoot (bool &hasArealRoot, const RealScalar &absImaginaryThreshold=NumTraits< Scalar >::dummy_precision()) const |
const RootType & | smallestRoot () const |
const RealScalar& Eigen::PolynomialSolverBase< _Scalar, _Deg >::absGreatestRealRoot | ( | bool & | hasArealRoot, |
const RealScalar & | absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() |
||
) | const [inline] |
[out] | hasArealRoot | : boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise. |
[in] | absImaginaryThreshold | : threshold on the absolute imaginary part to decide whether or not a root is real. |
const RealScalar& Eigen::PolynomialSolverBase< _Scalar, _Deg >::absSmallestRealRoot | ( | bool & | hasArealRoot, |
const RealScalar & | absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() |
||
) | const [inline] |
[out] | hasArealRoot | : boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise. |
[in] | absImaginaryThreshold | : threshold on the absolute imaginary part to decide whether or not a root is real. |
const RealScalar& Eigen::PolynomialSolverBase< _Scalar, _Deg >::greatestRealRoot | ( | bool & | hasArealRoot, |
const RealScalar & | absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() |
||
) | const [inline] |
[out] | hasArealRoot | : boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise. |
[in] | absImaginaryThreshold | : threshold on the absolute imaginary part to decide whether or not a root is real. |
const RootType& Eigen::PolynomialSolverBase< _Scalar, _Deg >::greatestRoot | ( | ) | const [inline] |
void Eigen::PolynomialSolverBase< _Scalar, _Deg >::realRoots | ( | Stl_back_insertion_sequence & | bi_seq, |
const RealScalar & | absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() |
||
) | const [inline] |
Clear and fills the back insertion sequence with the real roots of the polynomial i.e. the real part of the complex roots that have an imaginary part which absolute value is smaller than absImaginaryThreshold. absImaginaryThreshold takes the dummy_precision associated with the _Scalar template parameter of the PolynomialSolver class as the default value.
[out] | bi_seq | : the back insertion sequence (stl concept) |
[in] | absImaginaryThreshold | : the maximum bound of the imaginary part of a complex number that is considered as real. |
const RootsType& Eigen::PolynomialSolverBase< _Scalar, _Deg >::roots | ( | ) | const [inline] |
const RealScalar& Eigen::PolynomialSolverBase< _Scalar, _Deg >::smallestRealRoot | ( | bool & | hasArealRoot, |
const RealScalar & | absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() |
||
) | const [inline] |
[out] | hasArealRoot | : boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise. |
[in] | absImaginaryThreshold | : threshold on the absolute imaginary part to decide whether or not a root is real. |
const RootType& Eigen::PolynomialSolverBase< _Scalar, _Deg >::smallestRoot | ( | ) | const [inline] |