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

RowColumnSparseMatrix Class Reference

#include <RowColumnSparseMatrix.h>

Inheritance diagram for RowColumnSparseMatrix:

Inheritance graph
Collaboration diagram for RowColumnSparseMatrix:

Collaboration graph
List of all members.

Public Methods

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

Private Attributes

std::vector< MatrixElement * > matrix

Constructor & Destructor Documentation

RowColumnSparseMatrix::RowColumnSparseMatrix int    nRows,
int    nCols

Definition at line 11 of file RowColumnSparseMatrix.cpp.

RowColumnSparseMatrix::~RowColumnSparseMatrix   [virtual]

Definition at line 17 of file RowColumnSparseMatrix.cpp.

References matrix.

Member Function Documentation

bool RowColumnSparseMatrix::AddElement int    row,
int    col,
int    value

Implements SparseMatrix.

Definition at line 25 of file RowColumnSparseMatrix.cpp.

References matrix.

void RowColumnSparseMatrix::OrderElements   [virtual]

Implements SparseMatrix.

Definition at line 35 of file RowColumnSparseMatrix.cpp.

void RowColumnSparseMatrix::PrintMatrix  

bool RowColumnSparseMatrix::RightVectorMultiply double *    colVector,
int    length

Implements SparseMatrix.

Definition at line 40 of file RowColumnSparseMatrix.cpp.

References matrix, and SparseMatrix::nCols.

Member Data Documentation

std::vector<MatrixElement *> RowColumnSparseMatrix::matrix [private]

Definition at line 58 of file RowColumnSparseMatrix.h.

Referenced by AddElement, RightVectorMultiply, and ~RowColumnSparseMatrix.

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