WPILibC++ 2023.4.3
ConjHelper.h File Reference

Go to the source code of this file.

Classes

struct  Eigen::internal::conj_if< true >
 
struct  Eigen::internal::conj_if< false >
 
struct  Eigen::internal::conj_helper< LhsType, RhsType, ConjLhs, ConjRhs >
 
struct  Eigen::internal::conj_helper< LhsScalar, RhsScalar, true, true >
 
struct  Eigen::internal::conj_helper< Packet, Packet, ConjLhs, ConjRhs >
 
struct  Eigen::internal::conj_helper< Packet, Packet, true, true >
 

Namespaces

namespace  Eigen
 Namespace containing all symbols from the Eigen library.
 
namespace  Eigen::internal
 

Macros

#define EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(PACKET_CPLX, PACKET_REAL)
 

Macro Definition Documentation

◆ EIGEN_MAKE_CONJ_HELPER_CPLX_REAL

#define EIGEN_MAKE_CONJ_HELPER_CPLX_REAL (   PACKET_CPLX,
  PACKET_REAL 
)
Value:
template <> \
struct conj_helper<PACKET_REAL, PACKET_CPLX, false, false> { \
EIGEN_STRONG_INLINE PACKET_CPLX pmadd(const PACKET_REAL& x, \
const PACKET_CPLX& y, \
const PACKET_CPLX& c) const { \
return padd(c, this->pmul(x, y)); \
} \
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_REAL& y, \
const PACKET_CPLX& c) const { \
return padd(c, this->pmul(x, y)); \
} \
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)); \
} \
};
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
DoublePacket< Packet > padd(const DoublePacket< Packet > &a, const DoublePacket< Packet > &b)
Definition: GeneralBlockPanelKernel.h:689
static constexpr const velocity::meters_per_second_t c(299792458.0)
Speed of light in vacuum.