Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SimMatrix Class Reference

Sparse matrix class. More...

#include <freecloth/simulator/simMatrix.h>

List of all members.

Public Types

typedef std::list< ElementColumnContainer
typedef ColumnContainer::iterator ColumnIterator
typedef ColumnContainer::const_iterator ColumnConstIterator
typedef std::vector< RowRowContainer
typedef RowContainer::iterator RowIterator
typedef RowContainer::const_iterator RowConstIterator

Public Member Functions

 SimMatrix (UInt32 nbRows, UInt32 nbColumns)
UInt32 nbRows () const
UInt32 nbColumns () const
RowIterator beginRow ()
RowIterator endRow ()
RowConstIterator beginRow () const
RowConstIterator endRow () const
const Rowoperator[] (UInt32 row) const
Rowoperator[] (UInt32 row)
const GeMatrix3operator() (UInt32 row, UInt32 col) const
GeMatrix3operator() (UInt32 row, UInt32 col)
SimMatrix & operator *= (Float)
SimMatrix & operator+= (const SimMatrix &)
SimVector operator * (const SimVector &) const
SimMatrix operator * (Float) const
SimMatrix operator+ (const SimMatrix &) const

Static Public Member Functions

void multiply (SimVector &destV, const SimMatrix &srcM, const SimVector &srcV)

Private Attributes

UInt32 _nbRows
UInt32 _nbColumns
RowContainer _rows


Detailed Description

Sparse matrix class.

Uses compressed row storage format, with each entry being a 3x3 GeMatrix3 matrix.

This implements the bare minimum necessary for the cloth simulation class, and is not really intended as a general purpose sparse matrix class.

Formerly, both MTL and uBLAS were used for this purpose.

Definition at line 67 of file simMatrix.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 15:59:00 2003 for Freecloth by doxygen1.3-rc3