#include <Wm4GVector.h>
Public Member Functions | |
Real | Dot (const GVector &rkV) const |
int | GetSize () const |
GVector (const GVector &rkV) | |
GVector (int iSize, const Real *afTuple) | |
GVector (int iSize=0) | |
Real | Length () const |
Real | Normalize () |
operator const Real * () const | |
operator Real * () | |
bool | operator!= (const GVector &rkV) const |
GVector | operator* (Real fScalar) const |
GVector & | operator*= (Real fScalar) |
GVector | operator+ (const GVector &rkV) const |
GVector & | operator+= (const GVector &rkV) |
GVector | operator- () const |
GVector | operator- (const GVector &rkV) const |
GVector & | operator-= (const GVector &rkV) |
GVector | operator/ (Real fScalar) const |
GVector & | operator/= (Real fScalar) |
bool | operator< (const GVector &rkV) const |
bool | operator<= (const GVector &rkV) const |
GVector & | operator= (const GVector &rkV) |
bool | operator== (const GVector &rkV) const |
bool | operator> (const GVector &rkV) const |
bool | operator>= (const GVector &rkV) const |
Real & | operator[] (int i) |
Real | operator[] (int i) const |
void | SetSize (int iSize) |
Real | SquaredLength () const |
~GVector () | |
Protected Member Functions | |
int | CompareArrays (const GVector &rkV) const |
Protected Attributes | |
Real * | m_afTuple |
int | m_iSize |
Definition at line 27 of file Wm4GVector.h.
Wm4::GVector< Real >::GVector | ( | int | iSize = 0 |
) | [inline] |
Definition at line 21 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, Wm4::GVector< Real >::m_iSize, and WM4_NEW.
Wm4::GVector< Real >::GVector | ( | int | iSize, | |
const Real * | afTuple | |||
) | [inline] |
Definition at line 37 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, Wm4::GVector< Real >::m_iSize, Wm4::System::Memcpy(), and WM4_NEW.
Wm4::GVector< Real >::GVector | ( | const GVector< Real > & | rkV | ) | [inline] |
Definition at line 54 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, Wm4::GVector< Real >::m_iSize, Wm4::System::Memcpy(), and WM4_NEW.
Wm4::GVector< Real >::~GVector | ( | ) | [inline] |
Definition at line 70 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and WM4_DELETE.
int Wm4::GVector< Real >::CompareArrays | ( | const GVector< Real > & | rkV | ) | const [inline, protected] |
Definition at line 148 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
Referenced by Wm4::GVector< Real >::operator!=(), Wm4::GVector< Real >::operator<(), Wm4::GVector< Real >::operator<=(), Wm4::GVector< Real >::operator==(), Wm4::GVector< Real >::operator>(), and Wm4::GVector< Real >::operator>=().
Real Wm4::GVector< Real >::Dot | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 346 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
Referenced by Wm4::GMatrix< Real >::QForm().
int Wm4::GVector< Real >::GetSize | ( | ) | const [inline] |
Definition at line 93 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_iSize.
Referenced by Wm4::operator*(), Wm4::GMatrix< Real >::operator*(), Wm4::GMatrix< Real >::QForm(), Wm4::GMatrix< Real >::SetColumn(), and Wm4::GMatrix< Real >::SetRow().
Real Wm4::GVector< Real >::Length | ( | void | ) | const [inline] |
Definition at line 324 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
Referenced by Wm4::GVector< Real >::Normalize().
Real Wm4::GVector< Real >::Normalize | ( | void | ) | [inline] |
Definition at line 357 of file Wm4GVector.inl.
References Wm4::GVector< Real >::Length(), Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
Wm4::GVector< Real >::operator const Real * | ( | ) | const [inline] |
Definition at line 99 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple.
Wm4::GVector< Real >::operator Real * | ( | ) | [inline] |
Definition at line 105 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple.
bool Wm4::GVector< Real >::operator!= | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 160 of file Wm4GVector.inl.
References Wm4::GVector< Real >::CompareArrays().
GVector< Real > Wm4::GVector< Real >::operator* | ( | Real | fScalar | ) | const [inline] |
Definition at line 212 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > & Wm4::GVector< Real >::operator*= | ( | Real | fScalar | ) | [inline] |
Definition at line 290 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > Wm4::GVector< Real >::operator+ | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 190 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > & Wm4::GVector< Real >::operator+= | ( | const GVector< Real > & | rkV | ) | [inline] |
Definition at line 270 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > Wm4::GVector< Real >::operator- | ( | void | ) | const [inline] |
Definition at line 248 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > Wm4::GVector< Real >::operator- | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 201 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > & Wm4::GVector< Real >::operator-= | ( | const GVector< Real > & | rkV | ) | [inline] |
Definition at line 280 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > Wm4::GVector< Real >::operator/ | ( | Real | fScalar | ) | const [inline] |
Definition at line 223 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
GVector< Real > & Wm4::GVector< Real >::operator/= | ( | Real | fScalar | ) | [inline] |
Definition at line 300 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
bool Wm4::GVector< Real >::operator< | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 166 of file Wm4GVector.inl.
References Wm4::GVector< Real >::CompareArrays().
bool Wm4::GVector< Real >::operator<= | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 172 of file Wm4GVector.inl.
References Wm4::GVector< Real >::CompareArrays().
GVector< Real > & Wm4::GVector< Real >::operator= | ( | const GVector< Real > & | rkV | ) | [inline] |
Definition at line 125 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, Wm4::GVector< Real >::m_iSize, Wm4::System::Memcpy(), WM4_DELETE, and WM4_NEW.
bool Wm4::GVector< Real >::operator== | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 154 of file Wm4GVector.inl.
References Wm4::GVector< Real >::CompareArrays().
bool Wm4::GVector< Real >::operator> | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 178 of file Wm4GVector.inl.
References Wm4::GVector< Real >::CompareArrays().
bool Wm4::GVector< Real >::operator>= | ( | const GVector< Real > & | rkV | ) | const [inline] |
Definition at line 184 of file Wm4GVector.inl.
References Wm4::GVector< Real >::CompareArrays().
Real & Wm4::GVector< Real >::operator[] | ( | int | i | ) | [inline] |
Definition at line 118 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
Real Wm4::GVector< Real >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 111 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
void Wm4::GVector< Real >::SetSize | ( | int | iSize | ) | [inline] |
Definition at line 76 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, Wm4::GVector< Real >::m_iSize, WM4_DELETE, and WM4_NEW.
Real Wm4::GVector< Real >::SquaredLength | ( | ) | const [inline] |
Definition at line 335 of file Wm4GVector.inl.
References Wm4::GVector< Real >::m_afTuple, and Wm4::GVector< Real >::m_iSize.
Real* Wm4::GVector< Real >::m_afTuple [protected] |
Definition at line 79 of file Wm4GVector.h.
Referenced by Wm4::GVector< Real >::CompareArrays(), Wm4::GVector< Real >::Dot(), Wm4::GVector< Real >::GVector(), Wm4::GVector< Real >::Length(), Wm4::GVector< Real >::Normalize(), Wm4::GVector< Real >::operator const Real *(), Wm4::GVector< Real >::operator Real *(), Wm4::GVector< Real >::operator*(), Wm4::GVector< Real >::operator*=(), Wm4::GVector< Real >::operator+(), Wm4::GVector< Real >::operator+=(), Wm4::GVector< Real >::operator-(), Wm4::GVector< Real >::operator-=(), Wm4::GVector< Real >::operator/(), Wm4::GVector< Real >::operator/=(), Wm4::GVector< Real >::operator=(), Wm4::GVector< Real >::operator[](), Wm4::GVector< Real >::SetSize(), Wm4::GVector< Real >::SquaredLength(), and Wm4::GVector< Real >::~GVector().
int Wm4::GVector< Real >::m_iSize [protected] |
Definition at line 78 of file Wm4GVector.h.
Referenced by Wm4::GVector< Real >::CompareArrays(), Wm4::GVector< Real >::Dot(), Wm4::GVector< Real >::GetSize(), Wm4::GVector< Real >::GVector(), Wm4::GVector< Real >::Length(), Wm4::GVector< Real >::Normalize(), Wm4::GVector< Real >::operator*(), Wm4::GVector< Real >::operator*=(), Wm4::GVector< Real >::operator+(), Wm4::GVector< Real >::operator+=(), Wm4::GVector< Real >::operator-(), Wm4::GVector< Real >::operator-=(), Wm4::GVector< Real >::operator/(), Wm4::GVector< Real >::operator/=(), Wm4::GVector< Real >::operator=(), Wm4::GVector< Real >::operator[](), Wm4::GVector< Real >::SetSize(), and Wm4::GVector< Real >::SquaredLength().