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

Template functor to compute the atan of a scalar. 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_atan_op< Scalar >

Template functor to compute the atan of a scalar.

See also
class CwiseUnaryOp, ArrayBase::atan()

Member Function Documentation

◆ operator()()

template<typename Scalar >
EIGEN_DEVICE_FUNC const Scalar Eigen::internal::scalar_atan_op< Scalar >::operator() ( const Scalar a) const
inline
677 { return numext::atan(a); }
const Scalar * a
Definition: level2_cplx_impl.h:32
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T atan(const T &x)
Definition: MathFunctions.h:1683

References a, and Eigen::numext::atan().

◆ packetOp()

template<typename Scalar >
template<typename Packet >
EIGEN_DEVICE_FUNC Packet Eigen::internal::scalar_atan_op< Scalar >::packetOp ( const Packet a) const
inline
679  {
680  return internal::patan(a);
681  }
EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet patan(const Packet &a)
Definition: GenericPacketMath.h:1064

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


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