Vector< T > Class Template Reference

Basic variable-length vector template. More...

#include <Vector.hpp>

Inheritance diagram for Vector< T >:

Inheritance graph
[legend]
Collaboration diagram for Vector< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Vector< T > OurType

Public Member Functions

 Vector (int numElements)
 Vector (const std::valarray< T > &v)
void operator= (const std::valarray< T > &v)
double getLength () const
dotProduct (const OurType &v) const
OurType crossProduct (const OurType &v2) const
Matrix< T > outerProduct (const OurType &v) const
OurType operator * (const Matrix< T > &m) const
void setToZero ()
void print (const char *title=NULL) const
OurType operator- (const OurType &v) const
T & operator() (int index)
T & at (int index)
operator() (int index) const
at (int index) const
bool operator== (const OurType &v) const
bool operator!= (const OurType &v) const

Detailed Description

template<typename T>
class Vector< T >

Basic variable-length vector template.

Definition at line 20 of file Vector.hpp.


The documentation for this class was generated from the following file:
Generated on Mon May 26 11:19:55 2003 for CamChecker by doxygen1.3