template <> \
struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
EIGEN_STRONG_INLINE PACKET_CPLX
pmadd(
const PACKET_REAL& x, \
const PACKET_CPLX&
c)
const { \
} \
EIGEN_STRONG_INLINE PACKET_CPLX
pmul(
const PACKET_REAL& x, \
const PACKET_CPLX&
y)
const { \
return PACKET_CPLX(Eigen::internal::pmul<PACKET_REAL>(x,
y.v)); \
} \
}; \
\
template <> \
struct conj_helper<PACKET_CPLX, PACKET_REAL, false, false> { \
EIGEN_STRONG_INLINE PACKET_CPLX
pmadd(
const PACKET_CPLX& x, \
const PACKET_CPLX&
c)
const { \
} \
EIGEN_STRONG_INLINE PACKET_CPLX
pmul(
const PACKET_CPLX& x, \
const PACKET_REAL&
y)
const { \
return PACKET_CPLX(Eigen::internal::pmul<PACKET_REAL>(x.v,
y)); \
} \
};
EIGEN_DEVICE_FUNC Packet padd(const Packet &a, const Packet &b)
Definition: GenericPacketMath.h:215
const Scalar & y
Definition: MathFunctions.h:821
EIGEN_STRONG_INLINE Packet4i pmadd(const Packet4i &a, const Packet4i &b, const Packet4i &c)
Definition: PacketMath.h:370
EIGEN_DEVICE_FUNC Packet pmul(const Packet &a, const Packet &b)
Definition: GenericPacketMath.h:237
static constexpr const velocity::meters_per_second_t c(299792458.0)
Speed of light in vacuum.