Augustus 3.4.0
|
A simple matrix class. Base class for all mathematical matrix objects. More...
#include <matrix.hh>
Public Types | |
typedef T | value_t |
The type of the stored values. | |
Public Member Functions | |
Matrix (int n=0, int m=0) | |
~Matrix () | |
value_t * | operator[] (int i) |
const value_t * | operator[] (int i) const |
value_t & | operator() (int i, int j) |
const value_t & | operator() (int i, int j) const |
vector< T > | getRow (int i) const |
vector< T > | getColumn (int j) const |
int | getColSize () const |
int | getRowSize () const |
void | operator= (const Matrix< value_t > &mat) |
void | assign (int n, int m, value_t t=value_t()) |
Friends | |
ostream & | operator<< (ostream &out, const Matrix< value_t > &mat) |
A simple matrix class. Base class for all mathematical matrix objects.
This class provides the functionality of a matrix. It is designed to easily allocate space without the need to free this explicitily.
|
inline |
this clones the row