Matrix< Type, size > Class Template Reference

Square matrix. More...

#include <Matrix.h>

Collaboration diagram for Matrix< Type, size >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Matrix ()
 Initializes to the identity matrix.
Matrixoperator+= (const Matrix &m)
Matrix operator+ (const Matrix &m) const
Type * operator[] (int col)
const Type * operator[] (int col) const
Matrixoperator *= (const Matrix &other)
Matrix operator * (const Matrix &other) const
void loadIdentity ()
Type * matrix ()

Private Attributes

Type mMatrix [size][size]

Detailed Description

template<class Type = float, int size = 4>
class Matrix< Type, size >

Square matrix.


Constructor & Destructor Documentation

template<class Type, int size>
Matrix< Type, size >::Matrix  ) 
 

Initializes to the identity matrix.


Member Function Documentation

template<class Type, int size>
void Matrix< Type, size >::loadIdentity  ) 
 

template<class Type = float, int size = 4>
Type* Matrix< Type, size >::matrix  )  [inline]
 

template<class Type, int size>
Matrix< Type, size > Matrix< Type, size >::operator * const Matrix< Type, size > &  other  )  const
 

template<class Type, int size>
Matrix< Type, size > & Matrix< Type, size >::operator *= const Matrix< Type, size > &  other  ) 
 

template<class Type, int size>
Matrix< Type, size > Matrix< Type, size >::operator+ const Matrix< Type, size > &  m  )  const
 

template<class Type, int size>
Matrix< Type, size > & Matrix< Type, size >::operator+= const Matrix< Type, size > &  m  ) 
 

template<class Type = float, int size = 4>
const Type* Matrix< Type, size >::operator[] int  col  )  const [inline]
 

template<class Type = float, int size = 4>
Type* Matrix< Type, size >::operator[] int  col  )  [inline]
 


Member Data Documentation

template<class Type = float, int size = 4>
Type Matrix< Type, size >::mMatrix[size][size] [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Dec 19 00:13:43 2005 for Visualization by  doxygen 1.4.5