#include <Wm4Polynomial1.h>
Public Member Functions | |
void | Compress (Real fEpsilon) |
void | Divide (const Polynomial1 &rkDiv, Polynomial1 &rkQuot, Polynomial1 &rkRem, Real fEpsilon) const |
int | GetDegree () const |
Polynomial1 | GetDerivative () const |
Polynomial1 | GetInversion () const |
operator const Real * () const | |
operator Real * () | |
Real | operator() (Real fT) const |
Polynomial1 | operator* (Real fScalar) const |
Polynomial1 | operator* (const Polynomial1 &rkPoly) const |
Polynomial1 & | operator*= (Real fScalar) |
Polynomial1 & | operator*= (const Polynomial1 &rkPoly) |
Polynomial1 | operator+ (Real fScalar) const |
Polynomial1 | operator+ (const Polynomial1 &rkPoly) const |
Polynomial1 & | operator+= (Real fScalar) |
Polynomial1 & | operator+= (const Polynomial1 &rkPoly) |
Polynomial1 | operator- () const |
Polynomial1 | operator- (Real fScalar) const |
Polynomial1 | operator- (const Polynomial1 &rkPoly) const |
Polynomial1 & | operator-= (Real fScalar) |
Polynomial1 & | operator-= (const Polynomial1 &rkPoly) |
Polynomial1 | operator/ (Real fScalar) const |
Polynomial1 & | operator/= (Real fScalar) |
Polynomial1 & | operator= (const Polynomial1 &rkPoly) |
Real & | operator[] (int i) |
Real | operator[] (int i) const |
Polynomial1 (const Polynomial1 &rkPoly) | |
Polynomial1 (int iDegree=-1) | |
void | SetDegree (int iDegree) |
~Polynomial1 () | |
Protected Attributes | |
Real * | m_afCoeff |
int | m_iDegree |
Definition at line 27 of file Wm4Polynomial1.h.
Wm4::Polynomial1< Real >::Polynomial1 | ( | int | iDegree = -1 |
) | [inline] |
Definition at line 21 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, Wm4::Polynomial1< Real >::m_iDegree, and WM4_NEW.
Wm4::Polynomial1< Real >::Polynomial1 | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 37 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, Wm4::Polynomial1< Real >::m_iDegree, and WM4_NEW.
Wm4::Polynomial1< Real >::~Polynomial1 | ( | ) | [inline] |
Definition at line 48 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and WM4_DELETE.
void Wm4::Polynomial1< Real >::Compress | ( | Real | fEpsilon | ) | [inline] |
Definition at line 404 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Referenced by Wm4::PolynomialRoots< Real >::GetBound().
void Wm4::Polynomial1< Real >::Divide | ( | const Polynomial1< Real > & | rkDiv, | |
Polynomial1< Real > & | rkQuot, | |||
Polynomial1< Real > & | rkRem, | |||
Real | fEpsilon | |||
) | const [inline] |
Definition at line 431 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, Wm4::Polynomial1< Real >::m_iDegree, Wm4::System::Memcpy(), and Wm4::Polynomial1< Real >::SetDegree().
Referenced by Wm4::PolynomialRoots< Real >::GetRootCount().
int Wm4::Polynomial1< Real >::GetDegree | ( | ) | const [inline] |
Definition at line 70 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_iDegree.
Referenced by Wm4::PolynomialRoots< Real >::AllRealPartsNegative(), Wm4::PolynomialRoots< Real >::AllRealPartsPositive(), Wm4::PolynomialRoots< Real >::FindB(), Wm4::PolynomialRoots< Real >::GetBound(), Wm4::PolynomialRoots< Real >::GetRootCount(), and Wm4::operator*().
Polynomial1< Real > Wm4::Polynomial1< Real >::GetDerivative | ( | ) | const [inline] |
Definition at line 372 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Referenced by Wm4::PolynomialRoots< Real >::FindB(), and Wm4::PolynomialRoots< Real >::GetRootCount().
Polynomial1< Real > Wm4::Polynomial1< Real >::GetInversion | ( | ) | const [inline] |
Definition at line 393 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Wm4::Polynomial1< Real >::operator const Real * | ( | ) | const [inline] |
Definition at line 76 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff.
Wm4::Polynomial1< Real >::operator Real * | ( | ) | [inline] |
Definition at line 82 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff.
Real Wm4::Polynomial1< Real >::operator() | ( | Real | fT | ) | const [inline] |
Definition at line 120 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator* | ( | Real | fScalar | ) | const [inline] |
Definition at line 249 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator* | ( | const Polynomial1< Real > & | rkPoly | ) | const [inline] |
Definition at line 210 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator*= | ( | Real | fScalar | ) | [inline] |
Definition at line 356 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator*= | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 332 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator+ | ( | Real | fScalar | ) | const [inline] |
Definition at line 231 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator+ | ( | const Polynomial1< Real > & | rkPoly | ) | const [inline] |
Definition at line 134 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, Wm4::Polynomial1< Real >::m_iDegree, and Wm4::Polynomial1< Real >::SetDegree().
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator+= | ( | Real | fScalar | ) | [inline] |
Definition at line 340 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator+= | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 316 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator- | ( | void | ) | const [inline] |
Definition at line 287 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator- | ( | Real | fScalar | ) | const [inline] |
Definition at line 240 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator- | ( | const Polynomial1< Real > & | rkPoly | ) | const [inline] |
Definition at line 172 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, Wm4::Polynomial1< Real >::m_iDegree, and Wm4::Polynomial1< Real >::SetDegree().
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator-= | ( | Real | fScalar | ) | [inline] |
Definition at line 348 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator-= | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 324 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > Wm4::Polynomial1< Real >::operator/ | ( | Real | fScalar | ) | const [inline] |
Definition at line 261 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator/= | ( | Real | fScalar | ) | [inline] |
Definition at line 364 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_iDegree.
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator= | ( | const Polynomial1< Real > & | rkPoly | ) | [inline] |
Definition at line 102 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, Wm4::Polynomial1< Real >::m_iDegree, WM4_DELETE, and WM4_NEW.
Real & Wm4::Polynomial1< Real >::operator[] | ( | int | i | ) | [inline] |
Definition at line 95 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
Real Wm4::Polynomial1< Real >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 88 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, and Wm4::Polynomial1< Real >::m_iDegree.
void Wm4::Polynomial1< Real >::SetDegree | ( | int | iDegree | ) | [inline] |
Definition at line 54 of file Wm4Polynomial1.inl.
References Wm4::Polynomial1< Real >::m_afCoeff, Wm4::Polynomial1< Real >::m_iDegree, WM4_DELETE, and WM4_NEW.
Referenced by Wm4::Polynomial1< Real >::Divide(), Wm4::Polynomial1< Real >::operator+(), and Wm4::Polynomial1< Real >::operator-().
Real* Wm4::Polynomial1< Real >::m_afCoeff [protected] |
Definition at line 91 of file Wm4Polynomial1.h.
Referenced by Wm4::Polynomial1< Real >::Compress(), Wm4::Polynomial1< Real >::Divide(), Wm4::Polynomial1< Real >::GetDerivative(), Wm4::Polynomial1< Real >::GetInversion(), Wm4::Polynomial1< Real >::operator const Real *(), Wm4::Polynomial1< Real >::operator Real *(), Wm4::Polynomial1< Real >::operator()(), Wm4::Polynomial1< Real >::operator*(), Wm4::Polynomial1< Real >::operator+(), Wm4::Polynomial1< Real >::operator+=(), Wm4::Polynomial1< Real >::operator-(), Wm4::Polynomial1< Real >::operator-=(), Wm4::Polynomial1< Real >::operator/(), Wm4::Polynomial1< Real >::operator=(), Wm4::Polynomial1< Real >::operator[](), Wm4::Polynomial1< Real >::Polynomial1(), Wm4::Polynomial1< Real >::SetDegree(), and Wm4::Polynomial1< Real >::~Polynomial1().
int Wm4::Polynomial1< Real >::m_iDegree [protected] |
Definition at line 90 of file Wm4Polynomial1.h.
Referenced by Wm4::Polynomial1< Real >::Compress(), Wm4::Polynomial1< Real >::Divide(), Wm4::Polynomial1< Real >::GetDegree(), Wm4::Polynomial1< Real >::GetDerivative(), Wm4::Polynomial1< Real >::GetInversion(), Wm4::Polynomial1< Real >::operator()(), Wm4::Polynomial1< Real >::operator*(), Wm4::Polynomial1< Real >::operator*=(), Wm4::Polynomial1< Real >::operator+(), Wm4::Polynomial1< Real >::operator+=(), Wm4::Polynomial1< Real >::operator-(), Wm4::Polynomial1< Real >::operator-=(), Wm4::Polynomial1< Real >::operator/(), Wm4::Polynomial1< Real >::operator/=(), Wm4::Polynomial1< Real >::operator=(), Wm4::Polynomial1< Real >::operator[](), Wm4::Polynomial1< Real >::Polynomial1(), and Wm4::Polynomial1< Real >::SetDegree().