template<typename T>
struct blaze::IsSubvector< T >
Compile time check for subvectors.
This type trait tests whether or not the given template parameter is a subvector (i.e. a view on the part of a dense or sparse vector). In case the type is a subvector, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.
VectorType1 a;
VectorType2 b( 100UL );
VectorType3 c( 200UL );
using SubvectorType1 = decltype( blaze::subvector<2UL,4UL>( a ) );
using SubvectorType2 = decltype( blaze::subvector<aligned>( b, 8UL 24UL ) );
Efficient implementation of an arbitrary sized sparse vector.
Definition: CompressedVector.h:220
Efficient implementation of an arbitrary sized vector.
Definition: DynamicVector.h:223
Efficient implementation of a fixed-sized vector.
Definition: StaticVector.h:230
@ aligned
Flag for aligned vectors and matrices.
Definition: AlignmentFlag.h:65
decltype(auto) subvector(Vector< VT, TF > &, RSAs...)
Creating a view on a specific subvector of the given vector.
Definition: Subvector.h:158
Compile time check for subvectors.
Definition: IsSubvector.h:91