Public Types | Public Member Functions | Protected Types | Protected Attributes | Private Types | List of all members
Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols > Class Template Reference

#include <SparseBlock.h>

Inheritance diagram for Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >:
Inheritance graph
[legend]

Public Types

enum  { IsRowMajor = internal::traits<BlockType>::IsRowMajor }
 
- Public Types inherited from Eigen::SparseCompressedBase< Block< SparseMatrixType, BlockRows, BlockCols, true > >
typedef SparseMatrixBase< Derived > Base
 

Public Member Functions

Index blockCols () const
 
Index blockRows () const
 
const Scalar coeff (Index index) const
 
const Scalar coeff (Index row, Index col) const
 
ScalarcoeffRef (Index row, Index col)
 
EIGEN_STRONG_INLINE Index cols () const
 
StorageIndex * innerIndexPtr ()
 
const StorageIndex * innerIndexPtr () const
 
StorageIndex * innerNonZeroPtr ()
 
const StorageIndex * innerNonZeroPtr () const
 
bool isCompressed () const
 
const ScalarlastCoeff () const
 
SparseMatrixType & nestedExpression ()
 
const SparseMatrixType & nestedExpression () const
 
BlockTypeoperator= (const BlockType &other)
 
template<typename OtherDerived >
BlockTypeoperator= (const SparseMatrixBase< OtherDerived > &other)
 
StorageIndex * outerIndexPtr ()
 
const StorageIndex * outerIndexPtr () const
 
EIGEN_STRONG_INLINE Index rows () const
 
 sparse_matrix_block_impl (SparseMatrixType &xpr, Index i)
 
 sparse_matrix_block_impl (SparseMatrixType &xpr, Index startRow, Index startCol, Index blockRows, Index blockCols)
 
Index startCol () const
 
Index startRow () const
 
ScalarvaluePtr ()
 
const ScalarvaluePtr () const
 
- Public Member Functions inherited from Eigen::SparseCompressedBase< Block< SparseMatrixType, BlockRows, BlockCols, true > >
Map< Array< Scalar, Dynamic, 1 > > coeffs ()
 
const Map< const Array< Scalar, Dynamic, 1 > > coeffs () const
 
StorageIndex * innerIndexPtr ()
 
const StorageIndex * innerIndexPtr () const
 
StorageIndex * innerNonZeroPtr ()
 
const StorageIndex * innerNonZeroPtr () const
 
bool isCompressed () const
 
Index nonZeros () const
 
Derived & operator= (const Derived &other)
 
Derived & operator= (const Derived &other)
 
Derived & operator= (const EigenBase< OtherDerived > &other)
 
Derived & operator= (const ReturnByValue< OtherDerived > &other)
 
Derived & operator= (const SparseMatrixBase< OtherDerived > &other)
 
StorageIndex * outerIndexPtr ()
 
const StorageIndex * outerIndexPtr () const
 
ScalarvaluePtr ()
 
const ScalarvaluePtr () const
 

Protected Types

enum  { OuterSize = IsRowMajor ? BlockRows : BlockCols }
 
typedef Base::IndexVector IndexVector
 
- Protected Types inherited from Eigen::SparseCompressedBase< Block< SparseMatrixType, BlockRows, BlockCols, true > >
typedef Base::IndexVector IndexVector
 

Protected Attributes

internal::ref_selector< SparseMatrixType >::non_const_type m_matrix
 
const internal::variable_if_dynamic< Index, OuterSizem_outerSize
 
Index m_outerStart
 

Private Types

typedef internal::remove_all< typename SparseMatrixType::Nested >::type _MatrixTypeNested
 
typedef SparseCompressedBase< Block< SparseMatrixType, BlockRows, BlockCols, true > > Base
 
typedef Block< SparseMatrixType, BlockRows, BlockCols, true > BlockType
 

Additional Inherited Members

- Protected Member Functions inherited from Eigen::SparseCompressedBase< Block< SparseMatrixType, BlockRows, BlockCols, true > >
Eigen::Map< IndexVectorinnerNonZeros ()
 
const Eigen::Map< const IndexVectorinnerNonZeros () const
 
internal::LowerBoundIndex lower_bound (Index row, Index col) const
 
 SparseCompressedBase ()
 

Detailed Description

template<typename SparseMatrixType, int BlockRows, int BlockCols>
class Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >

Definition at line 98 of file SparseBlock.h.

Member Typedef Documentation

◆ _MatrixTypeNested

template<typename SparseMatrixType , int BlockRows, int BlockCols>
typedef internal::remove_all<typename SparseMatrixType::Nested>::type Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::_MatrixTypeNested
private

Definition at line 103 of file SparseBlock.h.

◆ Base

template<typename SparseMatrixType , int BlockRows, int BlockCols>
typedef SparseCompressedBase<Block<SparseMatrixType,BlockRows,BlockCols,true> > Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::Base
private

Definition at line 105 of file SparseBlock.h.

◆ BlockType

template<typename SparseMatrixType , int BlockRows, int BlockCols>
typedef Block<SparseMatrixType, BlockRows, BlockCols, true> Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::BlockType
private

Definition at line 104 of file SparseBlock.h.

◆ IndexVector

template<typename SparseMatrixType , int BlockRows, int BlockCols>
typedef Base::IndexVector Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::IndexVector
protected

Definition at line 111 of file SparseBlock.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename SparseMatrixType , int BlockRows, int BlockCols>
anonymous enum
Enumerator
IsRowMajor 

Definition at line 108 of file SparseBlock.h.

◆ anonymous enum

template<typename SparseMatrixType , int BlockRows, int BlockCols>
anonymous enum
protected
Enumerator
OuterSize 

Definition at line 112 of file SparseBlock.h.

Constructor & Destructor Documentation

◆ sparse_matrix_block_impl() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::sparse_matrix_block_impl ( SparseMatrixType &  xpr,
Index  i 
)
inline

Definition at line 115 of file SparseBlock.h.

◆ sparse_matrix_block_impl() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::sparse_matrix_block_impl ( SparseMatrixType &  xpr,
Index  startRow,
Index  startCol,
Index  blockRows,
Index  blockCols 
)
inline

Definition at line 119 of file SparseBlock.h.

Member Function Documentation

◆ blockCols()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Index Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::blockCols ( ) const
inline

Definition at line 278 of file SparseBlock.h.

◆ blockRows()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Index Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::blockRows ( ) const
inline

Definition at line 277 of file SparseBlock.h.

◆ coeff() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const Scalar Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::coeff ( Index  index) const
inline

Definition at line 255 of file SparseBlock.h.

◆ coeff() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const Scalar Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::coeff ( Index  row,
Index  col 
) const
inline

Definition at line 250 of file SparseBlock.h.

◆ coeffRef()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Scalar& Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::coeffRef ( Index  row,
Index  col 
)
inline

Definition at line 245 of file SparseBlock.h.

◆ cols()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
EIGEN_STRONG_INLINE Index Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::cols ( ) const
inline

Definition at line 271 of file SparseBlock.h.

◆ innerIndexPtr() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
StorageIndex* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::innerIndexPtr ( )
inline

Definition at line 230 of file SparseBlock.h.

◆ innerIndexPtr() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const StorageIndex* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::innerIndexPtr ( ) const
inline

Definition at line 228 of file SparseBlock.h.

◆ innerNonZeroPtr() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
StorageIndex* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::innerNonZeroPtr ( )
inline

Definition at line 240 of file SparseBlock.h.

◆ innerNonZeroPtr() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const StorageIndex* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::innerNonZeroPtr ( ) const
inline

Definition at line 238 of file SparseBlock.h.

◆ isCompressed()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
bool Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::isCompressed ( ) const
inline

Definition at line 243 of file SparseBlock.h.

◆ lastCoeff()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const Scalar& Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::lastCoeff ( ) const
inline

Definition at line 260 of file SparseBlock.h.

◆ nestedExpression() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
SparseMatrixType& Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::nestedExpression ( )
inline

Definition at line 274 of file SparseBlock.h.

◆ nestedExpression() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const SparseMatrixType& Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::nestedExpression ( ) const
inline

Definition at line 273 of file SparseBlock.h.

◆ operator=() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
BlockType& Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::operator= ( const BlockType other)
inline

Definition at line 218 of file SparseBlock.h.

◆ operator=() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
template<typename OtherDerived >
BlockType& Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::operator= ( const SparseMatrixBase< OtherDerived > &  other)
inline

Definition at line 124 of file SparseBlock.h.

◆ outerIndexPtr() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
StorageIndex* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::outerIndexPtr ( )
inline

Definition at line 235 of file SparseBlock.h.

◆ outerIndexPtr() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const StorageIndex* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::outerIndexPtr ( ) const
inline

Definition at line 233 of file SparseBlock.h.

◆ rows()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
EIGEN_STRONG_INLINE Index Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::rows ( ) const
inline

Definition at line 270 of file SparseBlock.h.

◆ startCol()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Index Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::startCol ( ) const
inline

Definition at line 276 of file SparseBlock.h.

◆ startRow()

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Index Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::startRow ( ) const
inline

Definition at line 275 of file SparseBlock.h.

◆ valuePtr() [1/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Scalar* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::valuePtr ( )
inline

Definition at line 225 of file SparseBlock.h.

◆ valuePtr() [2/2]

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const Scalar* Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::valuePtr ( ) const
inline

Definition at line 223 of file SparseBlock.h.

Member Data Documentation

◆ m_matrix

template<typename SparseMatrixType , int BlockRows, int BlockCols>
internal::ref_selector<SparseMatrixType>::non_const_type Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::m_matrix
protected

Definition at line 282 of file SparseBlock.h.

◆ m_outerSize

template<typename SparseMatrixType , int BlockRows, int BlockCols>
const internal::variable_if_dynamic<Index, OuterSize> Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::m_outerSize
protected

Definition at line 284 of file SparseBlock.h.

◆ m_outerStart

template<typename SparseMatrixType , int BlockRows, int BlockCols>
Index Eigen::internal::sparse_matrix_block_impl< SparseMatrixType, BlockRows, BlockCols >::m_outerStart
protected

Definition at line 283 of file SparseBlock.h.


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


gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:15:44