35 #ifndef _BLAZE_MATH_TYPETRAITS_HASLOG2_H_ 36 #define _BLAZE_MATH_TYPETRAITS_HASLOG2_H_ 64 template<
typename T,
typename =
void >
77 template<
typename T >
78 struct HasLog2Helper< T,
Void_t< decltype(
log2( std::declval<T>() ) ) > >
106 template<
typename T,
typename =
void >
108 :
public HasLog2Helper<T>
118 template<
typename T >
120 :
public HasLog2< typename T::ElementType >
131 template<
typename T >
133 :
public HasLog2< typename T::ElementType >
152 template<
typename T >
BoolConstant< false > FalseType
Type/value traits base class.The FalseType class is used as base class for type traits and value trai...
Definition: IntegralConstant.h:121
Header file for the Void type trait.
constexpr bool IsMatrix_v
Auxiliary variable template for the IsMatrix type trait.The IsMatrix_v variable template provides a c...
Definition: IsMatrix.h:138
void Void_t
Compile time type check.This type trait maps an arbitrary sequence of types to the type void....
Definition: Void.h:64
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: IntegralConstant.h:132
Header file for the IsMatrix type trait.
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.The EnableIf_t alias declaration provides a convenient...
Definition: EnableIf.h:138
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the IsVector type trait.
Header file for the EnableIf class template.
constexpr bool HasLog2_v
Auxiliary variable template for the HasLog2 type trait.The HasLog2_v variable template provides a con...
Definition: HasLog2.h:153
constexpr bool IsVector_v
Auxiliary variable template for the IsVector type trait.The IsVector_v variable template provides a c...
Definition: IsVector.h:139
Header file for the IntegralConstant class template.
decltype(auto) log2(const DenseMatrix< MT, SO > &dm)
Computes the binary logarithm for each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1750
Availability of the log2() operation for the given data types.This type trait provides the informatio...
Definition: HasLog2.h:107