35 #ifndef _BLAZE_MATH_TRAITS_COLUMNSEXPRTRAIT_H_ 36 #define _BLAZE_MATH_TRAITS_COLUMNSEXPRTRAIT_H_ 76 struct Failure {
using Type = INVALID_TYPE; };
82 struct CompileTime {
using Type = decltype( columns<CRAs...>( std::declval<MT>() ) ); };
88 struct Runtime {
using Type = decltype(
columns( std::declval<MT>(), { std::declval<size_t>() } ) ); };
96 ,
IfTrue_< (
sizeof...( CRAs ) > 0UL )
119 template<
typename MT
Header file for basic type definitions.
Evaluation of the expression type type of a columns operation.Via this type trait it is possible to e...
Definition: ColumnsExprTrait.h:71
typename IfTrue< Condition, T1, T2 >::Type IfTrue_
Auxiliary alias declaration for the IfTrue class template.The IfTrue_ alias declaration provides a co...
Definition: If.h:109
Header file for the IsMatrix type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the If class template.
BLAZE_ALWAYS_INLINE size_t columns(const Matrix< MT, SO > &matrix) noexcept
Returns the current number of columns of the matrix.
Definition: Matrix.h:506
Header file for all forward declarations for views.
Utility type for generic codes.
typename If< T1, T2, T3 >::Type If_
Auxiliary alias declaration for the If class template.The If_ alias declaration provides a convenient...
Definition: If.h:154
typename ColumnsExprTrait< MT, CRAs... >::Type ColumnsExprTrait_
Auxiliary alias declaration for the ColumnsExprTrait type trait.The ColumnsExprTrait_ alias declarati...
Definition: ColumnsExprTrait.h:121
Header file for the RemoveReference type trait.