Eigen::internal::scalar_erfc_op< Scalar > Struct Template Reference

Template functor to compute the Complementary Error Function of a scalar. More...

#include <SpecialFunctionsFunctors.h>

Public Types

typedef packet_traits< Scalar >::type Packet
 

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar &a) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet packetOp (const Packet &a) const
 

Detailed Description

template<typename Scalar>
struct Eigen::internal::scalar_erfc_op< Scalar >

Template functor to compute the Complementary Error Function of a scalar.

See also
class CwiseUnaryOp, Cwise::erfc()

Member Typedef Documentation

◆ Packet

template<typename Scalar >
typedef packet_traits<Scalar>::type Eigen::internal::scalar_erfc_op< Scalar >::Packet

Member Function Documentation

◆ operator()()

template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_erfc_op< Scalar >::operator() ( const Scalar a) const
inline
281  {
282  using numext::erfc;
283  return erfc(a);
284  }
const Scalar * a
Definition: level2_cplx_impl.h:32

References a.

◆ packetOp()

template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet Eigen::internal::scalar_erfc_op< Scalar >::packetOp ( const Packet a) const
inline
286 { return internal::perfc(a); }
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet perfc(const Packet &a)
Definition: SpecialFunctionsPacketMath.h:57

References a, and Eigen::internal::perfc().


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