![]() |
#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 22 of file ftmpl_matrix.h.
Definition at line 38 of file ftmpl_matrix.h.
Definition at line 40 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 36 of file ftmpl_matrix.cc.
Definition at line 46 of file ftmpl_matrix.h.
Definition at line 82 of file ftmpl_matrix.cc.
Definition at line 89 of file ftmpl_matrix.cc.
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.
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 138 of file ftmpl_matrix.cc.
Definition at line 45 of file ftmpl_matrix.h.
Definition at line 122 of file ftmpl_matrix.cc.
Definition at line 110 of file ftmpl_matrix.cc.
Definition at line 59 of file ftmpl_matrix.h.
Definition at line 34 of file ftmpl_matrix.h.
Definition at line 33 of file ftmpl_matrix.h.
Definition at line 33 of file ftmpl_matrix.h.