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

TriangularMatrix Class Template Reference

Inheritance diagram for TriangularMatrix:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class T>
class TriangularMatrix< T >

Triangular matrix handling as a symmetric square matrix.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

TriangularMatrix ( int  n  )  [inline]

Constructor.

Parameters:
n Size of the matrix


Member Function Documentation

int Index ( int  i,
int  j 
) [inline, private]

void resize ( int  n  )  [inline]

Resizes the matrix.

void clear (  )  [inline]

Clears the matrix entries.

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]


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