Public Member Functions | Static Public Member Functions | List of all members
blaze::Erf Struct Reference

Generic wrapper for the erf() function. More...

#include <Erf.h>

Public Member Functions

template<typename T >
BLAZE_ALWAYS_INLINE auto operator() (const T &a) const
 Returns the result of the erf() function for the given object/value. More...
 
template<typename T >
BLAZE_ALWAYS_INLINE auto load (const T &a) const
 Returns the result of the erf() function for the given SIMD vector. More...
 

Static Public Member Functions

template<typename T >
static constexpr bool simdEnabled ()
 Returns whether SIMD is enabled for the specified data type T. More...
 

Detailed Description

Generic wrapper for the erf() function.

Member Function Documentation

template<typename T >
BLAZE_ALWAYS_INLINE auto blaze::Erf::load ( const T &  a) const
inline

Returns the result of the erf() function for the given SIMD vector.

Parameters
aThe given SIMD vector.
Returns
The result of the erf() function for the given SIMD vector.
template<typename T >
BLAZE_ALWAYS_INLINE auto blaze::Erf::operator() ( const T &  a) const
inline

Returns the result of the erf() function for the given object/value.

Parameters
aThe given object/value.
Returns
The result of the erf() function for the given object/value.
template<typename T >
static constexpr bool blaze::Erf::simdEnabled ( )
inlinestatic

Returns whether SIMD is enabled for the specified data type T.

Returns
true in case SIMD is enabled for the data type T, false if not.

The documentation for this struct was generated from the following file: