35 #ifndef _BLAZE_MATH_FUNCTORS_TRUNC_H_ 36 #define _BLAZE_MATH_FUNCTORS_TRUNC_H_ 77 template<
typename T >
89 template<
typename T >
99 template<
typename T >
Generic wrapper for the trunc() function.
Definition: Trunc.h:62
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the trunc() function for the given SIMD vector.
Definition: Trunc.h:100
Header file for the SIMD trunc functionality.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.In case the given data type T is not a SIMD pack, a compilation error is ...
Definition: SIMDPack.h:60
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
decltype(auto) trunc(const DenseMatrix< MT, SO > &dm)
Applies the trunc() function to each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1263
Header file for the trunc shim.
Trunc()
Default constructor of the Trunc functor.
Definition: Trunc.h:67
Constraint on the data type.
Availability of a SIMD trunc operation for the given data type.Depending on the available instruction...
Definition: HasSIMDTrunc.h:110
Header file for the HasSIMDTrunc type trait.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Trunc.h:90
System settings for the inline keywords.