16 #ifndef EIGEN_MATH_FUNCTIONS_ZVECTOR_H
17 #define EIGEN_MATH_FUNCTIONS_ZVECTOR_H
20 #include "../../InternalHeaderCheck.h"
26 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12)
101 fx =
pmadd(p2d_cephes_LOG2EF,
x, p2d_half);
105 tmp =
pmul(fx, p2d_cephes_exp_C1);
118 qx =
pmadd(qx,
x2, p2d_cephes_exp_q1);
119 qx =
pmadd(qx,
x2, p2d_cephes_exp_q2);
120 qx =
pmadd(qx,
x2, p2d_cephes_exp_q3);
126 emm0 = vec_ctsl(fx, 0);
128 static const Packet2l p2l_1023 = {1023, 1023};
129 static const Packet2ul p2ul_52 = {52, 52};
131 emm0 = emm0 + p2l_1023;
132 emm0 = emm0 << reinterpret_cast<Packet2l>(p2ul_52);
137 return vec_sel(_x,
pmax(
pmul(
x,
reinterpret_cast<Packet2d>(emm0)), _x), isnumber_mask);
142 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12)
152 fx =
pmadd(
x, p4f_cephes_LOG2EF, p4f_half);
156 tmp =
pmul(fx, p4f_cephes_exp_C1);
173 emm0 = (
Packet4i){(
int)fx[0], (
int)fx[1], (
int)fx[2], (
int)fx[3]};
174 emm0 = emm0 + p4i_0x7f;
175 emm0 = emm0 << reinterpret_cast<Packet4i>(p4i_23);
194 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12)
211 #if !defined(__ARCH__) || (defined(__ARCH__) && __ARCH__ >= 12)
#define EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
Definition: Macros.h:900
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Definition: PartialRedux_count.cpp:3
RealScalar RealScalar * px
Definition: level1_cplx_impl.h:27
Eigen::Matrix< Scalar, Dynamic, Dynamic, ColMajor > tmp
Definition: level3_impl.h:365
__m128d Packet2d
Definition: LSX/PacketMath.h:36
EIGEN_DEVICE_FUNC Packet padd(const Packet &a, const Packet &b)
Definition: GenericPacketMath.h:318
__vector int Packet4i
Definition: AltiVec/PacketMath.h:34
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet2d pexp< Packet2d >(const Packet2d &_x)
Definition: arch/MSA/MathFunctions.h:320
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet4f psqrt< Packet4f >(const Packet4f &x)
Definition: arch/AltiVec/MathFunctions.h:68
static EIGEN_DECLARE_CONST_Packet4f(1, 1.0f)
const Scalar & y
Definition: RandomImpl.h:36
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet2d prsqrt< Packet2d >(const Packet2d &x)
Definition: arch/ZVector/MathFunctions.h:204
EIGEN_DEVICE_FUNC Packet pdiv(const Packet &a, const Packet &b)
Definition: GenericPacketMath.h:368
static EIGEN_DECLARE_CONST_Packet4f_FROM_INT(inv_mant_mask, ~0x7f800000)
static EIGEN_DECLARE_CONST_Packet4i(0x7f, 0x7f)
EIGEN_DEVICE_FUNC Packet pmax(const Packet &a, const Packet &b)
Definition: GenericPacketMath.h:663
EIGEN_STRONG_INLINE Packet2d pset1< Packet2d >(const double &from)
Definition: LSX/PacketMath.h:503
EIGEN_STRONG_INLINE Packet4f pmadd(const Packet4f &a, const Packet4f &b, const Packet4f &c)
Definition: AltiVec/PacketMath.h:1218
EIGEN_STRONG_INLINE Packet4cf pmul(const Packet4cf &a, const Packet4cf &b)
Definition: AVX/Complex.h:88
EIGEN_DEVICE_FUNC Packet pmin(const Packet &a, const Packet &b)
Definition: GenericPacketMath.h:649
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet4f ptanh< Packet4f >(const Packet4f &_x)
Definition: arch/MSA/MathFunctions.h:174
EIGEN_STRONG_INLINE Packet4f pset1< Packet4f >(const float &from)
Definition: AltiVec/PacketMath.h:773
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS T ptanh_float(const T &a_x)
Definition: GenericPacketMathFunctions.h:1155
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet2d psqrt< Packet2d >(const Packet2d &x)
Definition: arch/SSE/MathFunctions.h:37
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet4f pexp< Packet4f >(const Packet4f &_x)
Definition: arch/MSA/MathFunctions.h:124
EIGEN_DEVICE_FUNC Packet psub(const Packet &a, const Packet &b)
Definition: GenericPacketMath.h:337
static EIGEN_DECLARE_CONST_Packet2d(1, 1.0)
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS Packet4f prsqrt< Packet4f >(const Packet4f &x)
Definition: arch/ZVector/MathFunctions.h:209
EIGEN_STRONG_INLINE Packet4f pfloor(const Packet4f &a)
Definition: LSX/PacketMath.h:2537
__vector float Packet4f
Definition: AltiVec/PacketMath.h:33
eigen_packet_wrapper< __m128i, 7 > Packet2ul
Definition: LSX/PacketMath.h:45
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
Vector< double > x2(const Vector< double > &coord)
Cartesian coordinates centered at the point (1.5,1)
Definition: poisson/poisson_with_singularity/two_d_poisson.cc:102
Definition: Eigen_Colamd.h:49
list x
Definition: plotDoE.py:28