Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

matrix< elem > Class Template Reference

#include <matrix.h>

List of all members.

Public Member Functions

 matrix (int rows, int cols)
 matrix (const matrix< elem > &m)
const matrix< elem > & operator= (const matrix< elem > &m)
matrix< elem > operator * (const matrix< elem > &m) const
const matrix< elem > & operator *= (const matrix< elem > &m)
elem & operator() (int row, int col)
const elem & operator() (int row, int col) const

Public Attributes

const int ROWS
const int COLS

Private Attributes

std::vector< std::vector<
elem > > 
data

template<typename elem>
class matrix< elem >


Constructor & Destructor Documentation

template<typename elem>
matrix< elem >::matrix int  rows,
int  cols
[inline]
 

template<typename elem>
matrix< elem >::matrix const matrix< elem > &  m  )  [inline]
 


Member Function Documentation

template<typename elem>
matrix<elem> matrix< elem >::operator * const matrix< elem > &  m  )  const [inline]
 

template<typename elem>
const matrix<elem>& matrix< elem >::operator *= const matrix< elem > &  m  )  [inline]
 

template<typename elem>
const elem& matrix< elem >::operator() int  row,
int  col
const [inline]
 

template<typename elem>
elem& matrix< elem >::operator() int  row,
int  col
[inline]
 

template<typename elem>
const matrix<elem>& matrix< elem >::operator= const matrix< elem > &  m  )  [inline]
 


Member Data Documentation

template<typename elem>
const int matrix< elem >::COLS
 

template<typename elem>
std::vector<std::vector<elem> > matrix< elem >::data [private]
 

template<typename elem>
const int matrix< elem >::ROWS
 


The documentation for this class was generated from the following file:
Generated on Wed May 24 23:03:25 2006 for RTSync by  doxygen 1.4.4