SourceForge Logo
P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor

H. de Fraysseix      P. Ossona de Mendez

RectangularMatrix Class Template Reference

Inheritance diagram for RectangularMatrix:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class T>
class RectangularMatrix< T >

Rectangular matrix.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

RectangularMatrix ( int  nr,
int  nc 
) [inline]

Constructor.

Parameters:
nr Number of rows
nc Number of columns


Member Function Documentation

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.


Member Data Documentation

svector<T> buffer [private]

int ncols [private]


Generated on Thu Jan 31 16:52:02 2008 for Pigale by  doxygen 1.5.4