LR::SmallMatrix Class Reference

a class implementing dynamic resized two dimensional arrays. More...

#include <slr.h>

List of all members.

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_realmat
int nsize

Detailed Description

a class implementing dynamic resized two dimensional arrays.


Constructor & Destructor Documentation

LR::SmallMatrix::SmallMatrix ( int  sz  )  [inline, explicit]
LR::SmallMatrix::~SmallMatrix (  )  [inline]

References mat.


Member Function Documentation

void LR::SmallMatrix::expand ( int  newSize  ) 

increase the dimension of the matrix without losing the data.

References mat, and nsize.

Referenced by LR::LRSolver::increaseSubspaceLimit().

const RowProxy LR::SmallMatrix::operator[] ( int  i  )  [inline]

References mat, and nsize.


Member Data Documentation

Referenced by expand(), operator[](), and ~SmallMatrix().

int LR::SmallMatrix::nsize [private]

Referenced by expand(), and operator[]().


The documentation for this class was generated from the following files:

Generated on 10 Jul 2018 for ergo by  doxygen 1.6.1