ergo
LR::SmallMatrix Class Reference

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. More...
 

Private Attributes

ergo_realmat
 
int nsize
 

Detailed Description

a class implementing dynamic resized two dimensional arrays.

Constructor & Destructor Documentation

LR::SmallMatrix::SmallMatrix ( int  sz)
inlineexplicit
LR::SmallMatrix::~SmallMatrix ( )
inline

Member Function Documentation

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

increase the dimension of the matrix without losing the data.

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

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

Member Data Documentation

ergo_real* LR::SmallMatrix::mat
private
int LR::SmallMatrix::nsize
private

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