#include <Wm4PolynomialRoots.h>
Public Member Functions | |
bool | AllRealPartsNegative (const Polynomial1< Real > &rkPoly) |
bool | AllRealPartsPositive (const Polynomial1< Real > &rkPoly) |
Real | Epsilon () const |
Real & | Epsilon () |
bool | FindA (Real fC0, Real fC1, Real fC2, Real fC3, Real fC4) |
bool | FindA (Real fC0, Real fC1, Real fC2, Real fC3) |
bool | FindA (Real fC0, Real fC1, Real fC2) |
bool | FindA (Real fC0, Real fC1) |
bool | FindB (const Polynomial1< Real > &rkPoly, Real fXMin, Real fXMax, int iDigits) |
bool | FindB (const Polynomial1< Real > &rkPoly, int iDigits) |
bool | FindE (const Polynomial1< Real > &rkPoly, bool bDoBalancing) |
bool | FindE (Real fC0, Real fC1, Real fC2, Real fC3, Real fC4, bool bDoBalancing) |
bool | FindE (Real fC0, Real fC1, Real fC2, Real fC3, bool bDoBalancing) |
bool | FindN (const Polynomial1< Real > &rkPoly, Real fXMin, Real fXMax, int iDigits) |
bool | FindN (const Polynomial1< Real > &rkPoly, int iDigits) |
Real | GetBound (const Polynomial1< Real > &rkPoly) |
Real | GetBound (Real fC0, Real fC1, Real fC2, Real fC3, Real fC4) |
Real | GetBound (Real fC0, Real fC1, Real fC2, Real fC3) |
Real | GetBound (Real fC0, Real fC1, Real fC2) |
Real | GetBound (Real fC0, Real fC1) |
int | GetCount () const |
Real | GetRoot (int i) const |
int | GetRootCount (const Polynomial1< Real > &rkPoly, Real fT0, Real fT1) |
const Real * | GetRoots () const |
int | MaxIterations () const |
int & | MaxIterations () |
PolynomialRoots (Real fEpsilon) | |
Real | SpecialCubic (Real fA, Real fB, Real fC) |
~PolynomialRoots () |
Definition at line 49 of file Wm4PolynomialRoots.h.
Wm4::PolynomialRoots< Real >::PolynomialRoots | ( | Real | fEpsilon | ) | [inline] |
Definition at line 24 of file Wm4PolynomialRoots.cpp.
References WM4_NEW.
Wm4::PolynomialRoots< Real >::~PolynomialRoots | ( | ) | [inline] |
Definition at line 35 of file Wm4PolynomialRoots.cpp.
References WM4_DELETE.
bool Wm4::PolynomialRoots< Real >::AllRealPartsNegative | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 1208 of file Wm4PolynomialRoots.cpp.
References Wm4::Polynomial1< Real >::GetDegree(), Wm4::System::Memcpy(), and WM4_NEW.
Referenced by Wm4::PolynomialRoots< Real >::AllRealPartsPositive().
bool Wm4::PolynomialRoots< Real >::AllRealPartsPositive | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 1233 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::AllRealPartsNegative(), Wm4::Polynomial1< Real >::GetDegree(), Wm4::System::Memcpy(), and WM4_NEW.
Real Wm4::PolynomialRoots< Real >::Epsilon | ( | ) | const [inline] |
Definition at line 71 of file Wm4PolynomialRoots.cpp.
Real & Wm4::PolynomialRoots< Real >::Epsilon | ( | ) | [inline] |
Definition at line 65 of file Wm4PolynomialRoots.cpp.
bool Wm4::PolynomialRoots< Real >::FindA | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2, | |||
Real | fC3, | |||
Real | fC4 | |||
) | [inline] |
Definition at line 605 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::FindA().
bool Wm4::PolynomialRoots< Real >::FindA | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2, | |||
Real | fC3 | |||
) | [inline] |
Definition at line 184 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::FindA().
bool Wm4::PolynomialRoots< Real >::FindA | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2 | |||
) | [inline] |
Definition at line 125 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::FindA().
bool Wm4::PolynomialRoots< Real >::FindA | ( | Real | fC0, | |
Real | fC1 | |||
) | [inline] |
Definition at line 93 of file Wm4PolynomialRoots.cpp.
Referenced by Wm4::PolynomialRoots< Real >::FindA(), Wm4::PolynomialRoots< Real >::FindE(), and Wm4::PolynomialRoots< Real >::GetBound().
bool Wm4::PolynomialRoots< Real >::FindB | ( | const Polynomial1< Real > & | rkPoly, | |
Real | fXMin, | |||
Real | fXMax, | |||
int | iDigits | |||
) | [inline] |
Definition at line 1113 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::FindB(), Wm4::Polynomial1< Real >::GetDegree(), Wm4::Polynomial1< Real >::GetDerivative(), WM4_DELETE, and WM4_NEW.
bool Wm4::PolynomialRoots< Real >::FindB | ( | const Polynomial1< Real > & | rkPoly, | |
int | iDigits | |||
) | [inline] |
Definition at line 1063 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::GetBound().
Referenced by Wm4::PolynomialRoots< Real >::FindB().
bool Wm4::PolynomialRoots< Real >::FindE | ( | const Polynomial1< Real > & | rkPoly, | |
bool | bDoBalancing | |||
) | [inline] |
Definition at line 1079 of file Wm4PolynomialRoots.cpp.
bool Wm4::PolynomialRoots< Real >::FindE | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2, | |||
Real | fC3, | |||
Real | fC4, | |||
bool | bDoBalancing | |||
) | [inline] |
Definition at line 702 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::FindA().
bool Wm4::PolynomialRoots< Real >::FindE | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2, | |||
Real | fC3, | |||
bool | bDoBalancing | |||
) | [inline] |
Definition at line 270 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::FindA().
bool Wm4::PolynomialRoots< Real >::FindN | ( | const Polynomial1< Real > & | rkPoly, | |
Real | fXMin, | |||
Real | fXMax, | |||
int | iDigits | |||
) | [inline] |
Definition at line 1200 of file Wm4PolynomialRoots.cpp.
bool Wm4::PolynomialRoots< Real >::FindN | ( | const Polynomial1< Real > & | rkPoly, | |
int | iDigits | |||
) | [inline] |
Definition at line 1071 of file Wm4PolynomialRoots.cpp.
Real Wm4::PolynomialRoots< Real >::GetBound | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 1087 of file Wm4PolynomialRoots.cpp.
References Wm4::Polynomial1< Real >::Compress(), and Wm4::Polynomial1< Real >::GetDegree().
Real Wm4::PolynomialRoots< Real >::GetBound | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2, | |||
Real | fC3, | |||
Real | fC4 | |||
) | [inline] |
Definition at line 737 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::GetBound().
Real Wm4::PolynomialRoots< Real >::GetBound | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2, | |||
Real | fC3 | |||
) | [inline] |
Definition at line 302 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::GetBound().
Real Wm4::PolynomialRoots< Real >::GetBound | ( | Real | fC0, | |
Real | fC1, | |||
Real | fC2 | |||
) | [inline] |
Definition at line 164 of file Wm4PolynomialRoots.cpp.
References Wm4::PolynomialRoots< Real >::FindA().
Real Wm4::PolynomialRoots< Real >::GetBound | ( | Real | fC0, | |
Real | fC1 | |||
) | [inline] |
Definition at line 107 of file Wm4PolynomialRoots.cpp.
Referenced by Wm4::PolynomialRoots< Real >::FindB(), and Wm4::PolynomialRoots< Real >::GetBound().
int Wm4::PolynomialRoots< Real >::GetCount | ( | ) | const [inline] |
Definition at line 41 of file Wm4PolynomialRoots.cpp.
Real Wm4::PolynomialRoots< Real >::GetRoot | ( | int | i | ) | const [inline] |
Definition at line 53 of file Wm4PolynomialRoots.cpp.
int Wm4::PolynomialRoots< Real >::GetRootCount | ( | const Polynomial1< Real > & | rkPoly, | |
Real | fT0, | |||
Real | fT1 | |||
) | [inline] |
Definition at line 1312 of file Wm4PolynomialRoots.cpp.
References Wm4::Polynomial1< Real >::Divide(), Wm4::Polynomial1< Real >::GetDegree(), Wm4::Polynomial1< Real >::GetDerivative(), Py::int, WM4_DELETE, and WM4_NEW.
const Real * Wm4::PolynomialRoots< Real >::GetRoots | ( | ) | const [inline] |
Definition at line 47 of file Wm4PolynomialRoots.cpp.
int Wm4::PolynomialRoots< Real >::MaxIterations | ( | ) | const [inline] |
Definition at line 83 of file Wm4PolynomialRoots.cpp.
int & Wm4::PolynomialRoots< Real >::MaxIterations | ( | ) | [inline] |
Definition at line 77 of file Wm4PolynomialRoots.cpp.
Real Wm4::PolynomialRoots< Real >::SpecialCubic | ( | Real | fA, | |
Real | fB, | |||
Real | fC | |||
) | [inline] |
Definition at line 329 of file Wm4PolynomialRoots.cpp.