10 #ifndef EIGEN_ASSIGNMENT_FUNCTORS_H 11 #define EIGEN_ASSIGNMENT_FUNCTORS_H 21 template<
typename DstScalar,
typename SrcScalar>
struct assign_op {
26 template<
int Alignment,
typename Packet>
28 { internal::pstoret<DstScalar,Packet,Alignment>(
a,
b); }
32 template<
typename DstScalar>
struct assign_op<DstScalar,void> {};
34 template<
typename DstScalar,
typename SrcScalar>
51 template<
int Alignment,
typename Packet>
53 { internal::pstoret<DstScalar,Packet,Alignment>(
a,
internal::padd(internal::ploadt<Packet,Alignment>(a),b)); }
55 template<
typename DstScalar,
typename SrcScalar>
72 template<
int Alignment,
typename Packet>
74 { internal::pstoret<DstScalar,Packet,Alignment>(
a,
internal::psub(internal::ploadt<Packet,Alignment>(a),b)); }
76 template<
typename DstScalar,
typename SrcScalar>
88 template<
typename DstScalar,
typename SrcScalar=DstScalar>
94 template<
int Alignment,
typename Packet>
96 { internal::pstoret<DstScalar,Packet,Alignment>(
a,
internal::pmul(internal::ploadt<Packet,Alignment>(a),b)); }
98 template<
typename DstScalar,
typename SrcScalar>
110 template<
typename DstScalar,
typename SrcScalar=DstScalar>
struct div_assign_op {
115 template<
int Alignment,
typename Packet>
117 { internal::pstoret<DstScalar,Packet,Alignment>(
a,
internal::pdiv(internal::ploadt<Packet,Alignment>(a),b)); }
119 template<
typename DstScalar,
typename SrcScalar>
152 swap(a,const_cast<Scalar&>(b));
156 template<
typename Scalar>
161 #if defined(EIGEN_VECTORIZE_AVX) && EIGEN_COMP_CLANG && (EIGEN_COMP_CLANG<800 || defined(__apple_build_version__)) 177 #endif // EIGEN_ASSIGNMENT_FUNCTORS_H
EIGEN_STRONG_INLINE void assignPacket(DstScalar *a, const Packet &b) const
#define EIGEN_STRONG_INLINE
EIGEN_STRONG_INLINE void assignPacket(DstScalar *a, const Packet &b) const
#define EIGEN_EMPTY_STRUCT_CTOR(X)
Namespace containing all symbols from the Eigen library.
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
EIGEN_DEVICE_FUNC Packet padd(const Packet &a, const Packet &b)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignCoeff(DstScalar &a, const SrcScalar &b) const
void swap(GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t > &a, GeographicLib::NearestNeighbor< dist_t, pos_t, distfun_t > &b)
EIGEN_STRONG_INLINE void assignPacket(DstScalar *a, const Packet &b) const
#define EIGEN_DEVICE_FUNC
EIGEN_DEVICE_FUNC Packet pdiv(const Packet &a, const Packet &b)
EIGEN_STRONG_INLINE void assignPacket(DstScalar *a, const Packet &b) const
EIGEN_DEVICE_FUNC Packet psub(const Packet &a, const Packet &b)
EIGEN_STRONG_INLINE void assignPacket(DstScalar *a, const Packet &b) const
EIGEN_DEVICE_FUNC Packet pmul(const Packet &a, const Packet &b)
void swap(scoped_array< T > &a, scoped_array< T > &b)