35#ifndef _BLAZE_MATH_FUNCTORS_SQRABS_H_
36#define _BLAZE_MATH_FUNCTORS_SQRABS_H_
93 template<
typename T >
105 template<
typename T >
123 template<
typename T >
127 return a *
conj( a );
144template<
typename T >
145struct YieldsUniform<SqrAbs,T>
146 :
public IsUniform<T>
162template<
typename MT >
164 :
public BoolConstant< IsSymmetric_v<MT> || IsHermitian_v<MT> >
180template<
typename MT >
198template<
typename MT >
216template<
typename MT >
234template<
typename MT >
252template<
typename MT >
270template<
typename MT >
288template<
typename T >
Header file for the conjugate shim.
Header file for the HasSIMDConj type trait.
Header file for the HasSIMDMult type trait.
Macro for CUDA compatibility.
Header file for the IntegralConstant class template.
Header file for the IsHermitian type trait.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUniLower type trait.
Header file for the IsUniUpper type trait.
Header file for the IsUpper type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUniLower type trait.
Header file for the YieldsUniUpper type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
Constraint on the data type.
decltype(auto) conj(const DenseMatrix< MT, SO > &dm)
Returns a matrix containing the complex conjugate of each single element of dm.
Definition DMatMapExpr.h:1464
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition SIMDPack.h:60
constexpr bool HasSIMDConj_v
Auxiliary variable template for the HasSIMDConj type trait.
Definition HasSIMDConj.h:130
constexpr bool HasSIMDMult_v
Auxiliary variable template for the HasSIMDMult type trait.
Definition HasSIMDMult.h:188
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition HostDevice.h:94
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition IntegralConstant.h:110
Header file for the SIMD conj functionality.
Header file for the SIMD multiplication functionality.
Compile time check for lower triangular matrices.
Definition IsLower.h:118
Compile time check for strictly lower triangular matrices.
Definition IsStrictlyLower.h:116
Compile time check for strictly upper triangular matrices.
Definition IsStrictlyUpper.h:116
Compile time check for lower unitriangular matrices.
Definition IsUniLower.h:116
Compile time check for upper unitriangular matrices.
Definition IsUniUpper.h:116
Compile time check for upper triangular matrices.
Definition IsUpper.h:118
Compile time check for zero vectors or matrices.
Definition IsZero.h:109
Generic wrapper for the squared abs() function.
Definition SqrAbs.h:86
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition SqrAbs.h:114
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition SqrAbs.h:106
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the squared abs() function for the given SIMD vector.
Definition SqrAbs.h:124
Compile time check for operations on matrices.
Definition YieldsLower.h:69
Compile time check for operations on matrices.
Definition YieldsStrictlyLower.h:67
Compile time check for operations on matrices.
Definition YieldsStrictlyUpper.h:67
Compile time check for operations on matrices.
Definition YieldsSymmetric.h:67
Compile time check for operations on matrices.
Definition YieldsUniLower.h:67
Compile time check for operations on matrices.
Definition YieldsUniUpper.h:67
Compile time check for operations on matrices.
Definition YieldsUpper.h:69
Compile time check for operations on vectors and matrices.
Definition YieldsZero.h:68
System settings for the inline keywords.
Header file for the IsZero type trait.