RectangularMatrix | ( | int | nr, | |
int | nc | |||
) | [inline] |
Constructor.
nr | Number of rows | |
nc | Number of columns |
int Index | ( | int | i, | |
int | j | |||
) | [inline, private] |
void clear | ( | ) | [inline] |
Clears the matrix entries.
void resize | ( | int | nr, | |
int | nc | |||
) | [inline] |
Resizes the matrix.
T& operator() | ( | int | i, | |
int | j | |||
) | [inline] |
Returns a reference to an element.
const T& operator() | ( | int | i, | |
int | j | |||
) | const [inline] |
Returns a constant reference to an element.
int ncols [private] |