Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SparseMatrix Class Reference

#include <SparseMatrix.h>

Inheritance diagram for SparseMatrix:

Inheritance graph
[legend]
List of all members.

Public Methods

 SparseMatrix (int nRows, int nCols)
virtual void OrderElements ()=0
virtual bool AddElement (int row, int col, int value)=0
virtual bool RightVectorMultiply (double *colVector, int length)=0
virtual ~SparseMatrix ()

Protected Attributes

int nRows
int nCols

Constructor & Destructor Documentation

SparseMatrix::SparseMatrix int    nRows,
int    nCols
 

Definition at line 11 of file SparseMatrix.cpp.

References nCols, and nRows.

SparseMatrix::~SparseMatrix   [virtual]
 

Definition at line 17 of file SparseMatrix.cpp.


Member Function Documentation

virtual bool SparseMatrix::AddElement int    row,
int    col,
int    value
[pure virtual]
 

Implemented in RowColumnSparseMatrix.

virtual void SparseMatrix::OrderElements   [pure virtual]
 

Implemented in RowColumnSparseMatrix.

virtual bool SparseMatrix::RightVectorMultiply double *    colVector,
int    length
[pure virtual]
 

Implemented in RowColumnSparseMatrix.


Member Data Documentation

int SparseMatrix::nCols [protected]
 

Definition at line 25 of file SparseMatrix.h.

Referenced by RowColumnSparseMatrix::RightVectorMultiply, and SparseMatrix.

int SparseMatrix::nRows [protected]
 

Definition at line 25 of file SparseMatrix.h.

Referenced by SparseMatrix.


The documentation for this class was generated from the following files:
Generated on Mon Nov 3 10:08:14 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002