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

Template functor to compute the exponential of a scalar - 1. More...

#include <UnaryFunctors.h>

Public Member Functions

EIGEN_DEVICE_FUNC const Scalar operator() (const Scalar &a) const
 
template<typename Packet >
EIGEN_DEVICE_FUNC Packet packetOp (const Packet &a) const
 

Detailed Description

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

Template functor to compute the exponential of a scalar - 1.

See also
class CwiseUnaryOp, ArrayBase::expm1()

Member Function Documentation

◆ operator()()

template<typename Scalar >
EIGEN_DEVICE_FUNC const Scalar Eigen::internal::scalar_expm1_op< Scalar >::operator() ( const Scalar a) const
inline
403 { return numext::expm1(a); }
const Scalar * a
Definition: level2_cplx_impl.h:32
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 expm1(const bfloat16 &a)
Definition: BFloat16.h:617

References a, and Eigen::bfloat16_impl::expm1().

◆ packetOp()

template<typename Scalar >
template<typename Packet >
EIGEN_DEVICE_FUNC Packet Eigen::internal::scalar_expm1_op< Scalar >::packetOp ( const Packet a) const
inline
405  {
406  return internal::pexpm1(a);
407  }
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet pexpm1(const Packet &a)
Definition: GenericPacketMath.h:1097

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


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