Main MRPT website > C++ reference
MRPT logo
Classes | Public Types | Public Member Functions | Protected Attributes | Private Types

SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size > Class Template Reference


Detailed Description

template<typename _Scalar, int _Options, int Size>
class SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >

Definition at line 109 of file SparseBlock.h.

#include <src/Sparse/SparseBlock.h>

Inheritance diagram for SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >:
Inheritance graph
[legend]

List of all members.

Classes

class  InnerIterator

Public Types

enum  { IsRowMajor = internal::traits<SparseInnerVectorSet>::IsRowMajor }

Public Member Functions

 SparseInnerVectorSet (const MatrixType &matrix, Index outerStart, Index outerSize)
 SparseInnerVectorSet (const MatrixType &matrix, Index outer)
template<typename OtherDerived >
SparseInnerVectorSetoperator= (const SparseMatrixBase< OtherDerived > &other)
SparseInnerVectorSetoperator= (const SparseInnerVectorSet &other)
Index nonZeros () const
const ScalarlastCoeff () const
EIGEN_STRONG_INLINE Index rows () const
EIGEN_STRONG_INLINE Index cols () const

Protected Attributes

const MatrixType::Nested m_matrix
Index m_outerStart
const
internal::variable_if_dynamic
< Index, Size > 
m_outerSize

Private Types

typedef DynamicSparseMatrix
< _Scalar, _Options > 
MatrixType

Member Typedef Documentation

template<typename _Scalar , int _Options, int Size>
typedef DynamicSparseMatrix<_Scalar, _Options> SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::MatrixType [private]

Definition at line 112 of file SparseBlock.h.


Member Enumeration Documentation

template<typename _Scalar , int _Options, int Size>
anonymous enum
Enumerator:
IsRowMajor 

Definition at line 115 of file SparseBlock.h.


Constructor & Destructor Documentation

template<typename _Scalar , int _Options, int Size>
SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::SparseInnerVectorSet ( const MatrixType matrix,
Index  outerStart,
Index  outerSize 
) [inline]
template<typename _Scalar , int _Options, int Size>
SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::SparseInnerVectorSet ( const MatrixType matrix,
Index  outer 
) [inline]

Member Function Documentation

template<typename _Scalar , int _Options, int Size>
EIGEN_STRONG_INLINE Index SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::cols ( void  ) const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from SparseMatrixBase< SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size > >.

Definition at line 191 of file SparseBlock.h.

template<typename _Scalar , int _Options, int Size>
const Scalar& SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::lastCoeff ( ) const [inline]

Definition at line 177 of file SparseBlock.h.

References eigen_assert, and EIGEN_STATIC_ASSERT_VECTOR_ONLY.

template<typename _Scalar , int _Options, int Size>
Index SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::nonZeros ( ) const [inline]
Returns:
the number of nonzero coefficients which is in practice the number of stored coefficients.

Reimplemented from SparseMatrixBase< SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size > >.

Definition at line 169 of file SparseBlock.h.

template<typename _Scalar , int _Options, int Size>
SparseInnerVectorSet& SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::operator= ( const SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size > &  other) [inline]

Definition at line 164 of file SparseBlock.h.

template<typename _Scalar , int _Options, int Size>
template<typename OtherDerived >
SparseInnerVectorSet& SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::operator= ( const SparseMatrixBase< OtherDerived > &  other) [inline]
template<typename _Scalar , int _Options, int Size>
EIGEN_STRONG_INLINE Index SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::rows ( void  ) const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from SparseMatrixBase< SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size > >.

Definition at line 190 of file SparseBlock.h.


Member Data Documentation

template<typename _Scalar , int _Options, int Size>
const MatrixType::Nested SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::m_matrix [protected]

Definition at line 195 of file SparseBlock.h.

template<typename _Scalar , int _Options, int Size>
const internal::variable_if_dynamic<Index, Size> SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::m_outerSize [protected]

Definition at line 197 of file SparseBlock.h.

template<typename _Scalar , int _Options, int Size>
Index SparseInnerVectorSet< DynamicSparseMatrix< _Scalar, _Options >, Size >::m_outerStart [protected]

Definition at line 196 of file SparseBlock.h.




Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011