LR::SmallMatrix Class Reference

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

#include <slr.h>

List of all members.

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

Classes

struct  RowProxy


Detailed Description

a class implementing dynamic resized two dimensional arrays.


Constructor & Destructor Documentation

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

LR::SmallMatrix::~SmallMatrix (  )  [inline]


Member Function Documentation

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

increase the dimension of the matrix without losing the data.

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:
Generated on Wed Nov 21 09:32:13 2012 for ergo by  doxygen 1.4.7