My Project
|
#include <ftmpl_matrix.h>
Public Member Functions | |
Matrix () | |
Matrix (int nr, int nc) | |
Matrix (const Matrix< T > &M) | |
~Matrix () | |
Matrix< T > & | operator= (const Matrix< T > &M) |
int | rows () const |
int | columns () const |
SubMatrix< T > | operator[] (int i) |
const SubMatrix< T > | operator[] (int i) const |
T & | operator() (int row, int col) |
T | operator() (int row, int col) const |
SubMatrix< T > | operator() (int rmin, int rmax, int cmin, int cmax) |
const SubMatrix< T > | operator() (int rmin, int rmax, int cmin, int cmax) const |
void | swapRow (int i, int j) |
void | swapColumn (int i, int j) |
void | print (OSTREAM &s) const |
Private Types | |
typedef T * | T_ptr |
Private Member Functions | |
void | printrow (OSTREAM &s, int i) const |
Private Attributes | |
int | NR |
int | NC |
T ** | elems |
Friends | |
class | SubMatrix< T > |
OSTREAM & | operator (OSTREAM &s, const Matrix< T > &M) |
Definition at line 28 of file ftmpl_matrix.h.
Definition at line 36 of file ftmpl_matrix.h.
Definition at line 38 of file ftmpl_matrix.h.
Definition at line 6 of file ftmpl_matrix.cc.
Definition at line 20 of file ftmpl_matrix.cc.
Definition at line 44 of file ftmpl_matrix.h.
SubMatrix< T > Matrix< T >::operator() | ( | int | rmin, |
int | rmax, | ||
int | cmin, | ||
int | cmax | ||
) |
Definition at line 96 of file ftmpl_matrix.cc.
const SubMatrix< T > Matrix< T >::operator() | ( | int | rmin, |
int | rmax, | ||
int | cmin, | ||
int | cmax | ||
) | const |
Definition at line 103 of file ftmpl_matrix.cc.
T & Matrix< T >::operator() | ( | int | row, |
int | col | ||
) |
T Matrix< T >::operator() | ( | int | row, |
int | col | ||
) | const |
Definition at line 47 of file ftmpl_matrix.cc.
Definition at line 68 of file ftmpl_matrix.cc.
Definition at line 75 of file ftmpl_matrix.cc.
Definition at line 147 of file ftmpl_matrix.cc.
Definition at line 43 of file ftmpl_matrix.h.
Definition at line 122 of file ftmpl_matrix.cc.
Definition at line 55 of file ftmpl_matrix.h.
Definition at line 31 of file ftmpl_matrix.h.
Definition at line 31 of file ftmpl_matrix.h.