11 #ifndef EIGEN_GEOMETRY_SIMD_H 12 #define EIGEN_GEOMETRY_SIMD_H 18 template<
class Derived,
class OtherDerived>
32 const float arr[4] = {0.f, 0.f, 0.f, neg_zero};
34 Packet4f a = ae.template packet<AAlignment,Packet4f>(0);
35 Packet4f b = be.template packet<BAlignment,Packet4f>(0);
38 pstoret<float,Packet4f,ResAlignment>(
49 template<
class Derived>
60 const float arr[4] = {neg_zero, neg_zero, neg_zero,0.f};
68 template<
typename VectorLhs,
typename VectorRhs>
75 run(
const VectorLhs& lhs,
const VectorRhs& rhs)
84 pstoret<float,Packet4f,ResAlignment>(&res.x(),
psub(mul1,mul2));
91 #if (defined EIGEN_VECTORIZE_SSE) || (EIGEN_ARCH_ARM64) 93 template<
class Derived,
class OtherDerived>
108 const double*
a = _a.
coeffs().data();
109 Packet2d b_xy = be.template packet<BAlignment,Packet2d>(0);
110 Packet2d b_zw = be.template packet<BAlignment,Packet2d>(2);
141 template<
class Derived>
152 const double arr1[2] = {neg_zero, neg_zero};
153 const double arr2[2] = {neg_zero, 0.0};
162 #endif // end EIGEN_VECTORIZE_SSE_OR_EIGEN_ARCH_ARM64 168 #endif // EIGEN_GEOMETRY_SIMD_H EIGEN_DEVICE_FUNC CoeffReturnType x() const
EIGEN_DEVICE_FUNC CoeffReturnType z() const
Namespace containing all symbols from the Eigen library.
EIGEN_STRONG_INLINE Packet8h pxor(const Packet8h &a, const Packet8h &b)
static plain_matrix_type< VectorLhs >::type run(const VectorLhs &lhs, const VectorRhs &rhs)
EIGEN_DEVICE_FUNC Packet padd(const Packet &a, const Packet &b)
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
EIGEN_STRONG_INLINE Packet4f ploadu< Packet4f >(const float *from)
static Quaternion< float > run(const QuaternionBase< Derived > &_a, const QuaternionBase< OtherDerived > &_b)
EIGEN_DEVICE_FUNC const internal::traits< Derived >::Coefficients & coeffs() const
EIGEN_DEVICE_FUNC const Scalar & q
EIGEN_STRONG_INLINE Packet2d ploadu< Packet2d >(const double *from)
Base class for quaternion expressions.
static Quaternion< float > run(const QuaternionBase< Derived > &q)
The quaternion class used to represent 3D orientations and rotations.
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Tgt bit_cast(const Src &src)
EIGEN_DEVICE_FUNC Packet psub(const Packet &a, const Packet &b)
EIGEN_STRONG_INLINE Packet2d pset1< Packet2d >(const double &from)
EIGEN_STRONG_INLINE Packet4f vec4f_swizzle1(const Packet4f &a, int p, int q, int r, int s)
EIGEN_DEVICE_FUNC Packet paddsub(const Packet &a, const Packet &b)
EIGEN_DEVICE_FUNC Packet pmul(const Packet &a, const Packet &b)
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion< Scalar > run(const QuaternionBase< Derived1 > &a, const QuaternionBase< Derived2 > &b)
EIGEN_STRONG_INLINE Packet2cf preverse(const Packet2cf &a)