12 #ifndef BOGUS_SPARSEBLOCKMATRIX_HPP
13 #define BOGUS_SPARSEBLOCKMATRIX_HPP
15 #include "SparseBlockMatrixBase.hpp"
21 template <
typename BlockT,
int Flags >
23 :
public BlockMatrixTraits< BlockObjectBase< SparseBlockMatrix< BlockT, Flags > > >
26 typedef typename BaseTraits::Index Index;
27 typedef typename BlockTraits< BlockT >::Scalar Scalar ;
36 typedef BOGUS_DEFAULT_BLOCK_PTR_TYPE BlockPtr ;
37 typedef BlockT BlockType ;
38 typedef typename ResizableSequenceContainer< BlockType >::Type BlocksArrayType ;
56 template <
typename BlockT,
int Flags >
66 template <
typename Index >
70 BOGUS_STATIC_ASSERT( Base::has_fixed_size_blocks,
71 BLOCKS_MUST_HAVE_FIXED_DIMENSIONS
73 Base::setRows( rowsOfBlocks ) ;
74 Base::setCols( colsOfBlocks ) ;
77 template <
typename RhsT >
80 Base::operator= ( rhs.
derived() ) ;
83 template <
typename RhsT >
92 template <
typename BlockT,
int Flags >
97 typedef typename BlockType::Scalar Scalar ;
103 RowsAtCompileTime = internal::DYNAMIC,
104 ColsAtCompileTime = internal::DYNAMIC,
105 uses_plain_array_storage = 0,
113 #endif // SPARSEBLOCKMATRIX_HH
Definition: Traits.hpp:19
Uncompressed sparse block index.
Definition: SparseBlockIndex.hpp:86
const Derived & derived() const
Returns a const reference to the implementation.
Definition: BlockObjectBase.hpp:25
Sparse Block Matrix.
Definition: SparseBlockMatrix.hpp:57
Base class for matrix-like objects that define a block structure, but not a block type...
Definition: IterableBlockObject.hpp:22
Definition: Traits.hpp:29
Store only half the matrix, or rather the triangular part for which inner <= outer,.
Definition: Constants.hpp:64
Base class for anything block.
Definition: BlockObjectBase.hpp:22
Use an uncompressed index.
Definition: Constants.hpp:56
Store and index blocks in a column major way.
Definition: Constants.hpp:58
Base class for SparseBlockMatrix.
Definition: SparseBlockMatrixBase.hpp:36