MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / paddsub

Function paddsub

include/Eigen/Eigen/src/Core/GenericPacketMath.h:663–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661
662/** \internal \returns the addsub value of \a a,b */
663template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
664paddsub(const Packet& a, const Packet& b) {
665 return pselect(peven_mask(a), padd(a, b), psub(a, b));
666 }
667
668/** \internal \returns the phase angle of \a a */
669template<typename Packet> EIGEN_DEVICE_FUNC inline Packet

Callers 1

runMethod · 0.85

Calls 4

pselectFunction · 0.70
peven_maskFunction · 0.70
paddFunction · 0.70
psubFunction · 0.70

Tested by

no test coverage detected