![]() |
#include <Vector.hpp>
Inheritance diagram for Vector< T >:


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 |
| T | 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) |
| T | operator() (int index) const |
| T | at (int index) const |
| bool | operator== (const OurType &v) const |
| bool | operator!= (const OurType &v) const |
Definition at line 20 of file Vector.hpp.
1.3