template<typename T>
struct blaze::IsColumns< T >
Compile time check for column selections.
This type trait tests whether or not the given template parameter is a column selection (i.e. a view on columns of a dense or sparse matrix). In case the type is a column selection, 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.
MatrixType1 A;
MatrixType2 B( 100UL, 200UL );
MatrixType3 C( 200UL, 250UL );
using ColumnsType1 = decltype( blaze::columns<2UL,4UL>( A ) );
Efficient implementation of a compressed matrix.
Definition: CompressedMatrix.h:239
Efficient implementation of a dynamic matrix.
Definition: DynamicMatrix.h:242
Efficient implementation of a fixed-sized matrix.
Definition: StaticMatrix.h:249
@ aligned
Flag for aligned vectors and matrices.
Definition: AlignmentFlag.h:65
constexpr size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:660
Compile time check for column selections.
Definition: IsColumns.h:91