Matrix< T > Class Template Reference

#include <matrix.h>

List of all members.

Public Member Functions

void clear (void)
int columns (void)
void identity (void)
 Matrix (const Matrix< T > &other)
 Matrix (int rows, int columns)
 Matrix ()
int minsize (void)
T & operator() (int x, int y)
Matrix< T > & operator= (const Matrix< T > &other)
Matrix< T > product (Matrix< T > &other)
void resize (int rows, int columns)
int rows (void)
trace (void)
Matrix< T > & transpose (void)
 ~Matrix ()

Private Attributes

int m_columns
T ** m_matrix
int m_rows

Detailed Description

template<class T>
class Matrix< T >

Definition at line 32 of file matrix.h.


Constructor & Destructor Documentation

template<class T>
Matrix< T >::Matrix (  )  [inline]

Definition at line 34 of file matrix.h.

template<class T>
Matrix< T >::Matrix ( int  rows,
int  columns 
) [inline]

Definition at line 41 of file matrix.h.

template<class T>
Matrix< T >::Matrix ( const Matrix< T > &  other  )  [inline]

Definition at line 47 of file matrix.h.

template<class T>
Matrix< T >::~Matrix (  )  [inline]

Definition at line 86 of file matrix.h.


Member Function Documentation

template<class T>
void Matrix< T >::clear ( void   )  [inline]

Definition at line 154 of file matrix.h.

template<class T>
int Matrix< T >::columns ( void   )  [inline]

Definition at line 241 of file matrix.h.

template<class T>
void Matrix< T >::identity ( void   )  [inline]

Definition at line 143 of file matrix.h.

template<class T>
int Matrix< T >::minsize ( void   )  [inline]

Definition at line 236 of file matrix.h.

template<class T>
T& Matrix< T >::operator() ( int  x,
int  y 
) [inline]

Definition at line 163 of file matrix.h.

template<class T>
Matrix<T>& Matrix< T >::operator= ( const Matrix< T > &  other  )  [inline]

Definition at line 63 of file matrix.h.

template<class T>
Matrix<T> Matrix< T >::product ( Matrix< T > &  other  )  [inline]

Definition at line 217 of file matrix.h.

template<class T>
void Matrix< T >::resize ( int  rows,
int  columns 
) [inline]

Definition at line 99 of file matrix.h.

template<class T>
int Matrix< T >::rows ( void   )  [inline]

Definition at line 246 of file matrix.h.

template<class T>
T Matrix< T >::trace ( void   )  [inline]

Definition at line 173 of file matrix.h.

template<class T>
Matrix<T>& Matrix< T >::transpose ( void   )  [inline]

Definition at line 187 of file matrix.h.


Member Data Documentation

template<class T>
int Matrix< T >::m_columns [private]

Definition at line 253 of file matrix.h.

template<class T>
T** Matrix< T >::m_matrix [private]

Definition at line 251 of file matrix.h.

template<class T>
int Matrix< T >::m_rows [private]

Definition at line 252 of file matrix.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:58 2014