a class implementing dynamic resized two dimensional arrays. More...
#include <slr.h>
Classes | |
struct | RowProxy |
Public Member Functions | |
SmallMatrix (int sz) | |
~SmallMatrix () | |
const RowProxy | operator[] (int i) |
void | expand (int newSize) |
increase the dimension of the matrix without losing the data. | |
Private Attributes | |
ergo_real * | mat |
int | nsize |
a class implementing dynamic resized two dimensional arrays.
LR::SmallMatrix::SmallMatrix | ( | int | sz | ) | [inline, explicit] |
LR::SmallMatrix::~SmallMatrix | ( | ) | [inline] |
References mat.
void LR::SmallMatrix::expand | ( | int | newSize | ) |
increase the dimension of the matrix without losing the data.
Referenced by LR::LRSolver::increaseSubspaceLimit().
ergo_real* LR::SmallMatrix::mat [private] |
Referenced by expand(), operator[](), and ~SmallMatrix().
int LR::SmallMatrix::nsize [private] |
Referenced by expand(), and operator[]().