35 #ifndef _BLAZE_MATH_FUNCTORS_ROUND_H_ 36 #define _BLAZE_MATH_FUNCTORS_ROUND_H_ 95 template<
typename T >
107 template<
typename T >
125 template<
typename T >
146 template<
typename T >
147 struct YieldsUniform<Round,T>
148 :
public IsUniform<T>
164 template<
typename MT >
165 struct YieldsSymmetric<Round,MT>
166 :
public IsSymmetric<MT>
182 template<
typename MT >
183 struct YieldsLower<Round,MT>
200 template<
typename MT >
201 struct YieldsUniLower<Round,MT>
202 :
public IsUniLower<MT>
218 template<
typename MT >
219 struct YieldsStrictlyLower<Round,MT>
220 :
public IsStrictlyLower<MT>
236 template<
typename MT >
237 struct YieldsUpper<Round,MT>
254 template<
typename MT >
255 struct YieldsUniUpper<Round,MT>
256 :
public IsUniUpper<MT>
272 template<
typename MT >
273 struct YieldsStrictlyUpper<Round,MT>
274 :
public IsStrictlyUpper<MT>
290 template<
typename T >
291 struct YieldsZero<Round,T>
Header file for the HasSIMDRound type trait.
Round()
Default constructor of the Round functor.
Definition: Round.h:85
Header file for the IsUniUpper type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsZero type trait.
Header file for the IsUniLower type trait.
#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
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsUniLower type trait.
Header file for the IsLower type trait.
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Round.h:108
Constraint on the data type.
Header file for the IsStrictlyLower type trait.
decltype(auto) round(const DenseMatrix< MT, SO > &dm)
Applies the round() function to each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1297
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the IsZero type trait.
Header file for the round shim.
Header file for the SIMD round functionality.
Header file for the YieldsLower type trait.
decltype(auto) BLAZE_ALWAYS_INLINE load(const T &a) const
Returns the result of the round() function for the given SIMD vector.
Definition: Round.h:126
Generic wrapper for the round() function.
Definition: Round.h:80
Header file for the IsUpper type trait.
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Round.h:116
Header file for the YieldsUniUpper type trait.
System settings for the inline keywords.