11 #ifndef BOGUS_BLOCK_TRAITS_HPP
12 #define BOGUS_BLOCK_TRAITS_HPP
18 template<
typename Derived >
22 template<
typename ElementType >
24 typedef std::vector< ElementType > Type ;
25 enum { is_mutable = 1 } ;
28 template<
typename BlockType >
31 typedef typename BlockType::Scalar Scalar ;
54 template<
typename BlockType >
59 template<
typename VectorType >
63 template<
typename LhsBlockType,
typename RhsBlockType,
bool TransposeLhs,
bool TransposeRhs >
65 typedef LhsBlockType ReturnType ;
Definition: Traits.hpp:19
Number of rows spanned by a block at compile time ; useful for efficient segmentation.
Definition: Traits.hpp:37
Defines the return type of the product of two blocks potentially transposed.
Definition: Traits.hpp:64
Whether this block is equal to its transpose.
Definition: Traits.hpp:46
Definition: Traits.hpp:29
Defines the type of the vectors resulting from the multiplication of a BlockMatrix and an instance of...
Definition: Traits.hpp:60
Ordering inside the block ; only useful uses_plain_array_storage is true.
Definition: Traits.hpp:44
Can be set to true if "const Scalar* data_pointer( const BlockType& )" exist.
Definition: Traits.hpp:42
Number of cols spanned by a block at compile time ; useful for efficient segmentation.
Definition: Traits.hpp:39
Default container type, that should resizable and use contiguous storage.
Definition: Traits.hpp:23
Defines the return type of an associated transpose_block( const BlockType& ) function.
Definition: Traits.hpp:55
BlockType TransposeStorageType
Type for storing the result of transpose_block( BlockType ), useful for cacheTranspose() ...
Definition: Traits.hpp:33