35#ifndef _BLAZE_MATH_FUNCTORS_LGAMMA_H_
36#define _BLAZE_MATH_FUNCTORS_LGAMMA_H_
78 template<
typename T >
81 return lgamma( std::forward<T>( a ) );
90 template<
typename T >
108 template<
typename T >
129template<
typename T >
130struct YieldsUniform<LGamma,T>
131 :
public IsUniform<T>
147template<
typename MT >
165template<
typename MT >
Header file for the HasSIMDLGamma type trait.
Macro for CUDA compatibility.
Header file for the IsHermitian type trait.
Header file for the IsSymmetric type trait.
Header file for the YieldsHermitian type trait.
Header file for the YieldsSymmetric type trait.
Constraint on the data type.
decltype(auto) lgamma(const DenseMatrix< MT, SO > &dm)
Computes the natural logarithm of the absolute value of the gamma function for each single element of...
Definition DMatMapExpr.h:2016
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition SIMDPack.h:60
constexpr bool HasSIMDLGamma_v
Auxiliary variable template for the HasSIMDLGamma type trait.
Definition HasSIMDLGamma.h:118
#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
Header file for the lgamma shim.
Header file for the SIMD lgamma functionality.
Compile time check for Hermitian matrices.
Definition IsHermitian.h:115
Compile time check for symmetric matrices.
Definition IsSymmetric.h:115
Generic wrapper for the lgamma() function.
Definition LGamma.h:71
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the lgamma() function for the given SIMD vector.
Definition LGamma.h:109
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition LGamma.h:91
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition LGamma.h:99
Compile time check for operations on matrices.
Definition YieldsHermitian.h:67
Compile time check for operations on matrices.
Definition YieldsSymmetric.h:67
System settings for the inline keywords.