Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CwMtx::CWTSVector< r, T > Class Template Reference

#include <stat_vector.h>

Inheritance diagram for CwMtx::CWTSVector< r, T >:

CwMtx::CWTSMatrix< r, 1, T > CwMtx::CWTSZero< CWTSVector< r, T > > List of all members.

Public Member Functions

 CWTSVector ()
 CWTSVector (const CWTSMatrix< r, 1, T > &mat)
 CWTSVector (const CWTSVector &vec)
 ~CWTSVector ()
T & operator[] (unsigned irow)
const T & operator[] (unsigned irow) const
CWTSVector operator+ (const CWTSVector &) const
CWTSVector operator- (const CWTSVector &) const
CWTSVector operator- () const
CWTSVector operator * (const T &) const
CWTSVector operator/ (const T &value) const
operator * (const CWTSVector &) const
CWTSVectoroperator= (const CWTSVector &vec)
CWTSVectoroperator+= (const CWTSVector &vec)
CWTSVectoroperator-= (const CWTSVector &vec)
CWTSVectoroperator *= (const T &value)
CWTSVectoroperator/= (const T &value)
operator! () const
norm () const
CWTSVector unit () const
void makeUnit ()
template<unsigned r2>
void storeAtRow (unsigned, const CWTSVector< r2, T > &)

template<unsigned r, class T = double>
class CwMtx::CWTSVector< r, T >


Constructor & Destructor Documentation

template<unsigned r, class T = double>
CwMtx::CWTSVector< r, T >::CWTSVector  )  [inline]
 

Definition at line 39 of file stat_vector.h.

template<unsigned r, class T = double>
CwMtx::CWTSVector< r, T >::CWTSVector const CWTSMatrix< r, 1, T > &  mat  )  [inline]
 

Definition at line 40 of file stat_vector.h.

template<unsigned r, class T = double>
CwMtx::CWTSVector< r, T >::CWTSVector const CWTSVector< r, T > &  vec  )  [inline]
 

Definition at line 41 of file stat_vector.h.

template<unsigned r, class T = double>
CwMtx::CWTSVector< r, T >::~CWTSVector  )  [inline]
 

Definition at line 43 of file stat_vector.h.


Member Function Documentation

template<unsigned r, class T = double>
void CwMtx::CWTSVector< r, T >::makeUnit  )  [inline]
 

Definition at line 71 of file stat_vector.h.

template<unsigned r, class T>
T CwMtx::CWTSVector< r, T >::norm  )  const
 

Definition at line 179 of file stat_vector.h.

Referenced by CwMtx::CWTSVector< 3, T >::makeUnit(), and CwMtx::CWTSVector< 3, T >::unit().

template<unsigned r, class T>
T CwMtx::CWTSVector< r, T >::operator * const CWTSVector< r, T > &   )  const
 

Definition at line 164 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > CwMtx::CWTSVector< r, T >::operator * const T &   )  const
 

Reimplemented from CwMtx::CWTSMatrix< r, 1, T >.

Reimplemented in CwMtx::CWTSQuaternion< T >, and CwMtx::CWTSSpaceVector< T >.

Definition at line 150 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > & CwMtx::CWTSVector< r, T >::operator *= const T &  value  )  [inline]
 

Reimplemented from CwMtx::CWTSMatrix< r, 1, T >.

Reimplemented in CwMtx::CWTSQuaternion< T >, and CwMtx::CWTSSpaceVector< T >.

Definition at line 115 of file stat_vector.h.

template<unsigned r, class T = double>
T CwMtx::CWTSVector< r, T >::operator!  )  const [inline]
 

Definition at line 64 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > CwMtx::CWTSVector< r, T >::operator+ const CWTSVector< r, T > &   )  const
 

Definition at line 129 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > & CwMtx::CWTSVector< r, T >::operator+= const CWTSVector< r, T > &  vec  )  [inline]
 

Definition at line 101 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > CwMtx::CWTSVector< r, T >::operator-  )  const
 

Reimplemented from CwMtx::CWTSMatrix< r, 1, T >.

Reimplemented in CwMtx::CWTSQuaternion< T >, and CwMtx::CWTSSpaceVector< T >.

Definition at line 143 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > CwMtx::CWTSVector< r, T >::operator- const CWTSVector< r, T > &   )  const
 

Definition at line 136 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > & CwMtx::CWTSVector< r, T >::operator-= const CWTSVector< r, T > &  vec  )  [inline]
 

Definition at line 108 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > CwMtx::CWTSVector< r, T >::operator/ const T &  value  )  const
 

Reimplemented from CwMtx::CWTSMatrix< r, 1, T >.

Reimplemented in CwMtx::CWTSQuaternion< T >, and CwMtx::CWTSSpaceVector< T >.

Definition at line 157 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > & CwMtx::CWTSVector< r, T >::operator/= const T &  value  )  [inline]
 

Reimplemented from CwMtx::CWTSMatrix< r, 1, T >.

Reimplemented in CwMtx::CWTSQuaternion< T >, and CwMtx::CWTSSpaceVector< T >.

Definition at line 122 of file stat_vector.h.

template<unsigned r, class T>
CWTSVector< r, T > & CwMtx::CWTSVector< r, T >::operator= const CWTSVector< r, T > &  vec  )  [inline]
 

Definition at line 94 of file stat_vector.h.

template<unsigned r, class T>
const T & CwMtx::CWTSVector< r, T >::operator[] unsigned  irow  )  const [inline]
 

Reimplemented from CwMtx::CWTSMatrix< r, 1, T >.

Definition at line 86 of file stat_vector.h.

template<unsigned r, class T>
T & CwMtx::CWTSVector< r, T >::operator[] unsigned  irow  )  [inline]
 

Reimplemented from CwMtx::CWTSMatrix< r, 1, T >.

Definition at line 79 of file stat_vector.h.

template<unsigned r, class T>
template<unsigned r2>
void CwMtx::CWTSVector< r, T >::storeAtRow unsigned  ,
const CWTSVector< r2, T > & 
[inline]
 

Definition at line 191 of file stat_vector.h.

template<unsigned r, class T = double>
CWTSVector CwMtx::CWTSVector< r, T >::unit  )  const [inline]
 

Reimplemented in CwMtx::CWTSQuaternion< T >, and CwMtx::CWTSSpaceVector< T >.

Definition at line 68 of file stat_vector.h.

Referenced by CwMtx::sgn().


The documentation for this class was generated from the following file:
Generated on Sun Jul 3 12:18:46 2005 for Matrix and vector library by  doxygen 1.4.2