MappedSparseMatrix< _Scalar, _Flags > Class Template Reference

Sparse matrix. More...

List of all members.

Public Member Functions

int * _innerIndexPtr ()
const int * _innerIndexPtr () const
int * _outerIndexPtr ()
const int * _outerIndexPtr () const
Scalar * _valuePtr ()
const Scalar * _valuePtr () const
Scalar coeff (int row, int col) const
Scalar & coeffRef (int row, int col)
int cols () const
int innerNonZeros (int j) const
int innerSize () const
 MappedSparseMatrix (int rows, int cols, int nnz, int *outerIndexPtr, int *innerIndexPtr, Scalar *valuePtr)
int nonZeros () const
int outerSize () const
int rows () const
 ~MappedSparseMatrix ()

Protected Types

enum  { IsRowMajor }

Protected Attributes

int * m_innerIndices
int m_innerSize
int m_nnz
int * m_outerIndex
int m_outerSize
Scalar * m_values


Detailed Description

template<typename _Scalar, int _Flags>
class Eigen::MappedSparseMatrix< _Scalar, _Flags >

Sparse matrix.

Parameters:
_Scalar the scalar type, i.e. the type of the coefficients
See http://www.netlib.org/linalg/html_templates/node91.html for details on the storage scheme.

Constructor & Destructor Documentation

~MappedSparseMatrix (  )  [inline]

Empty destructor


Member Function Documentation

int nonZeros (  )  const [inline]

Returns:
the number of non zero coefficients


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

Generated on Thu Oct 8 14:52:39 2009 for Eigen by  doxygen 1.5.9