#include <freecloth/simulator/simMatrix.h>
Public Types | |
typedef std::list< Element > | ColumnContainer |
typedef ColumnContainer::iterator | ColumnIterator |
typedef ColumnContainer::const_iterator | ColumnConstIterator |
typedef std::vector< Row > | RowContainer |
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 Row & | operator[] (UInt32 row) const |
Row & | operator[] (UInt32 row) |
const GeMatrix3 & | operator() (UInt32 row, UInt32 col) const |
GeMatrix3 & | operator() (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) |
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.