35#ifndef _BLAZE_MATH_SIMD_SIMDTRAIT_H_
36#define _BLAZE_MATH_SIMD_SIMDTRAIT_H_
75 static constexpr size_t size = 1UL;
90 static constexpr size_t size = Type::size;
101template<
typename T >
105 static constexpr size_t size = Type::size;
118template<
typename T >
122 static constexpr size_t size = Type::size;
133template<
typename T >
137 static constexpr size_t size = Type::size;
150template<
typename T >
154 static constexpr size_t size = Type::size;
165template<
typename T >
169 static constexpr size_t size = Type::size;
182template<
typename T >
186 static constexpr size_t size = Type::size;
197template<
typename T >
201 static constexpr size_t size = Type::size;
215struct SIMDTraitBase<float>
217 using Type = SIMDfloat;
218 static constexpr size_t size = Type::size;
230struct SIMDTraitBase< complex<float> >
232 using Type = SIMDcfloat;
233 static constexpr size_t size = Type::size;
247struct SIMDTraitBase<double>
249 using Type = SIMDdouble;
250 static constexpr size_t size = Type::size;
262struct SIMDTraitBase< complex<double> >
264 using Type = SIMDcdouble;
265 static constexpr size_t size = Type::size;
294template<
typename T >
296 :
public SIMDTraitBase< RemoveCV_t<T> >
314template<
typename T >
Header file for the basic SIMD types.
Header file for the complex data type.
Header file for the EnableIf class template.
Header file for the HasSize type trait.
Header file for the If class template.
Header file for the IsIntegral type trait.
Header file for the IsNumeric type trait.
Header file for the IsSigned type trait.
Header file for the RemoveCV type trait.
constexpr size_t size(const Matrix< MT, SO > &matrix) noexcept
Returns the total number of elements of the matrix.
Definition Matrix.h:676
typename SIMDTrait< T >::Type SIMDTrait_t
Auxiliary alias declaration for the SIMDTrait class template.
Definition SIMDTrait.h:315
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.
Definition StaticAssert.h:112
constexpr bool Has1Byte_v
Auxiliary variable template for the Has1Byte type trait.
Definition HasSize.h:223
constexpr bool IsNumeric_v
Auxiliary variable template for the IsNumeric type trait.
Definition IsNumeric.h:132
constexpr bool Has2Bytes_v
Auxiliary variable template for the Has2Bytes type trait.
Definition HasSize.h:275
constexpr bool Has8Bytes_v
Auxiliary variable template for the Has8Bytes type trait.
Definition HasSize.h:379
constexpr bool IsIntegral_v
Auxiliary variable template for the IsIntegral type trait.
Definition IsIntegral.h:95
constexpr bool Has4Bytes_v
Auxiliary variable template for the Has4Bytes type trait.
Definition HasSize.h:327
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.
Definition EnableIf.h:138
typename If< Condition >::template Type< T1, T2 > If_t
Auxiliary alias template for the If class template.
Definition If.h:108
System settings for the SSE mode.
Header file for basic type definitions.