tagGame::Matrix< T > Class Template Reference

A basic templatized matrix class. More...

#include <Matrix.h>

List of all members.

Public Member Functions

 Matrix (size_t const rowCount=0, size_t const colCount=0)
 Matrix (std::vector< Vec< T > > const &rows)
 Matrix (Matrix const &m)
size_t getRowCount () const
size_t getColCount () const
void setRowColCount (size_t const rowCount, size_t const colCount)
Vec< T > const & getRow (size_t const i) const
MatrixsetRow (size_t const i, Vec< T > const &v)
Vec< T > const & getCol (size_t const j) const
MatrixsetCol (size_t const j, Vec< T > const &v)
std::vector< Vec< T > > const & getRows () const
std::vector< Vec< T > > const & getCols () const
Matrixoperator= (Matrix const &m)
bool operator== (Matrix const &m) const
bool isAlmostEq (Matrix const &m) const
bool isAlmostZero () const
Matrixset (T const x)
Matrixadd (Matrix const &m)
Matrixsubtract (Matrix const &m)
Matrixscale (T const x)
Matrixmultiply (Matrix const &m)
Matrixtranspose ()
Matrixinvert ()
Vec< T > multiply (Vec< T > const &v) const
minElement () const
maxElement () const
size_t argMax () const
size_t argMin () const
Matrixshuffle ()
Matrixrandomize ()


Detailed Description

template<class T>
class tagGame::Matrix< T >

A basic templatized matrix class.

See the comments in the Vec base class as they also apply to this class.


The documentation for this class was generated from the following file:
Generated on Sat Mar 31 22:31:00 2007 for tagGame by  doxygen 1.5.1