Classes | Public Member Functions | Protected Attributes

SparseView< MatrixType > Class Template Reference

#include <SparseView.h>

Inheritance diagram for SparseView< MatrixType >:
SparseMatrixBase< SparseView< MatrixType > > EigenBase< SparseView< MatrixType > >

List of all members.

Classes

class  InnerIterator

Public Member Functions

 SparseView (const MatrixType &mat, const Scalar &m_reference=Scalar(0), typename NumTraits< Scalar >::Real m_epsilon=NumTraits< Scalar >::dummy_precision())
Index rows () const
Index cols () const
Index innerSize () const
Index outerSize () const

Protected Attributes

const MatrixTypeNested m_matrix
Scalar m_reference
NumTraits< Scalar >::Real m_epsilon

template<typename MatrixType>
class SparseView< MatrixType >


Constructor & Destructor Documentation

template<typename MatrixType>
SparseView< MatrixType >::SparseView ( const MatrixType &  mat,
const Scalar m_reference = Scalar(0),
typename NumTraits< Scalar >::Real  m_epsilon = NumTraits<Scalar>::dummy_precision() 
) [inline]

Member Function Documentation

template<typename MatrixType>
Index SparseView< MatrixType >::cols ( void   )  const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from SparseMatrixBase< SparseView< MatrixType > >.

template<typename MatrixType>
Index SparseView< MatrixType >::innerSize (  )  const [inline]
Returns:
the size of the inner dimension according to the storage order, i.e., the number of rows for a columns major matrix, and the number of cols otherwise

Reimplemented from SparseMatrixBase< SparseView< MatrixType > >.

template<typename MatrixType>
Index SparseView< MatrixType >::outerSize (  )  const [inline]
Returns:
the size of the storage major dimension, i.e., the number of columns for a columns major matrix, and the number of rows otherwise

Reimplemented from SparseMatrixBase< SparseView< MatrixType > >.

template<typename MatrixType>
Index SparseView< MatrixType >::rows ( void   )  const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from SparseMatrixBase< SparseView< MatrixType > >.


Member Data Documentation

template<typename MatrixType>
NumTraits<Scalar>::Real SparseView< MatrixType >::m_epsilon [protected]
template<typename MatrixType>
const MatrixTypeNested SparseView< MatrixType >::m_matrix [protected]
template<typename MatrixType>
Scalar SparseView< MatrixType >::m_reference [protected]

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