Eigen::internal::nearest_integer_packetop_impl< Packet, IsScalar, IsInteger > Struct Template Reference

#include <GenericPacketMath.h>

Static Public Member Functions

static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet run_floor (const Packet &x)
 
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet run_ceil (const Packet &x)
 
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet run_rint (const Packet &x)
 
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet run_round (const Packet &x)
 
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet run_trunc (const Packet &x)
 

Member Function Documentation

◆ run_ceil()

template<typename Packet , bool IsScalar = is_scalar<Packet>::value, bool IsInteger = NumTraits<typename unpacket_traits<Packet>::type>::IsInteger>
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet Eigen::internal::nearest_integer_packetop_impl< Packet, IsScalar, IsInteger >::run_ceil ( const Packet x)
inlinestatic
1145 { return numext::ceil(x); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar() ceil(const Scalar &x)
Definition: MathFunctions.h:1205
list x
Definition: plotDoE.py:28

References Eigen::numext::ceil(), and plotDoE::x.

Referenced by Eigen::internal::pceil().

◆ run_floor()

template<typename Packet , bool IsScalar = is_scalar<Packet>::value, bool IsInteger = NumTraits<typename unpacket_traits<Packet>::type>::IsInteger>
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet Eigen::internal::nearest_integer_packetop_impl< Packet, IsScalar, IsInteger >::run_floor ( const Packet x)
inlinestatic
1144 { return numext::floor(x); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar() floor(const Scalar &x)
Definition: MathFunctions.h:1200

References Eigen::numext::floor(), and plotDoE::x.

Referenced by Eigen::internal::pfloor().

◆ run_rint()

template<typename Packet , bool IsScalar = is_scalar<Packet>::value, bool IsInteger = NumTraits<typename unpacket_traits<Packet>::type>::IsInteger>
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet Eigen::internal::nearest_integer_packetop_impl< Packet, IsScalar, IsInteger >::run_rint ( const Packet x)
inlinestatic
1146 { return numext::rint(x); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar rint(const Scalar &x)
Definition: MathFunctions.h:1190

References Eigen::numext::rint(), and plotDoE::x.

Referenced by Eigen::internal::print().

◆ run_round()

template<typename Packet , bool IsScalar = is_scalar<Packet>::value, bool IsInteger = NumTraits<typename unpacket_traits<Packet>::type>::IsInteger>
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet Eigen::internal::nearest_integer_packetop_impl< Packet, IsScalar, IsInteger >::run_round ( const Packet x)
inlinestatic
1147 { return numext::round(x); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar round(const Scalar &x)
Definition: MathFunctions.h:1195

References Eigen::numext::round(), and plotDoE::x.

Referenced by Eigen::internal::pround().

◆ run_trunc()

template<typename Packet , bool IsScalar = is_scalar<Packet>::value, bool IsInteger = NumTraits<typename unpacket_traits<Packet>::type>::IsInteger>
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet Eigen::internal::nearest_integer_packetop_impl< Packet, IsScalar, IsInteger >::run_trunc ( const Packet x)
inlinestatic
1148 { return numext::trunc(x); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar() trunc(const Scalar &x)
Definition: MathFunctions.h:1210

References Eigen::numext::trunc(), and plotDoE::x.

Referenced by Eigen::internal::ptrunc().


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