math::vecbase< T, N > Class Template Reference

Inheritance diagram for math::vecbase< T, N >:
math::matbase< T, N, N > math::matsqu< T, N >

List of all members.

Public Types

typedef T Type

Public Member Functions

void loadZero ()
magnitude () const
void Normalize ()
bool IsFinite () const
bool IsNan () const
void write (FILE *file) const
void read (FILE *file)
T & operator[] (int i)
void print () const
Constructors



 vecbase ()
 vecbase (vecbase< T, N > const &rhs)
 vecbase (T const *const rhs)
comparison



bool operator== (const vecbase< T, N > &rhs) const
bool operator!= (const vecbase< T, N > &rhs) const
vector algebra



dot (vecbase< T, N > const &rhs) const
binary operators



vecbase< T, N > & operator+= (const vecbase< T, N > &rhs)
vecbase< T, N > & operator-= (const vecbase< T, N > &rhs)
vecbase< T, N > operator*= (const T rhs)
vecbase< T, N > operator/= (const T rhs)
void Add (const vecbase< T, N > &v2, vecbase< T, N > &result)
void Subtract (const vecbase< T, N > &v2, vecbase< T, N > &result)
unary operators



vecbase< T, N > & minus ()
vecbase< T, N > & abs ()

Public Attributes

v [N]

Protected Member Functions

bool operator< (vecbase< T, N > const &rhs)

template<typename T, int N>
class math::vecbase< T, N >


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions

Generated on 24 Apr 2014 for math by  doxygen 1.6.1