sofa::component::linearsolver::LPtrFullMatrix< T > Class Template Reference

Simple full matrix container, with an additionnal pointer per line, to be able do get a T** pointer and use [i][j] directly. More...

#include <FullMatrix.h>

Inheritance diagram for sofa::component::linearsolver::LPtrFullMatrix< T >:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::linearsolver::LPtrFullMatrix< T >:

Collaboration graph
[legend]

Public Member Functions

 LPtrFullMatrix ()
void resize (int nbRow, int nbCol)
 Resize the matrix and reset all values to 0.
T ** lptr ()
const T ** lptr () const

Protected Attributes

T ** ldata
int lallocsize

Detailed Description

template<typename T>
class sofa::component::linearsolver::LPtrFullMatrix< T >

Simple full matrix container, with an additionnal pointer per line, to be able do get a T** pointer and use [i][j] directly.

Definition at line 336 of file FullMatrix.h.


Constructor & Destructor Documentation

template<typename T >
sofa::component::linearsolver::LPtrFullMatrix< T >::LPtrFullMatrix (  )  [inline]

Definition at line 342 of file FullMatrix.h.


Member Function Documentation

template<typename T >
const T** sofa::component::linearsolver::LPtrFullMatrix< T >::lptr (  )  const [inline]

Definition at line 367 of file FullMatrix.h.

template<typename T >
T** sofa::component::linearsolver::LPtrFullMatrix< T >::lptr (  )  [inline]

Definition at line 366 of file FullMatrix.h.

Referenced by sofa::component::odesolver::MasterContactSolver::step().

template<typename T >
void sofa::component::linearsolver::LPtrFullMatrix< T >::resize ( int  nbRow,
int  nbCol 
) [inline, virtual]


Field Documentation

template<typename T >
int sofa::component::linearsolver::LPtrFullMatrix< T >::lallocsize [protected]

template<typename T >
T** sofa::component::linearsolver::LPtrFullMatrix< T >::ldata [protected]


The documentation for this class was generated from the following file:

Generated on Sun Nov 23 04:20:28 2008 for Sofa by  doxygen 1.5.7.1