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

Method run

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

Source from the content-addressed store, hash-verified

553template<typename Packet, typename EnableIf = void>
554struct pselect_impl {
555 static EIGEN_DEVICE_FUNC inline Packet run(const Packet& mask, const Packet& a, const Packet& b) {
556 return por(pand(a,mask),pandnot(b,mask));
557 }
558};
559
560// For scalars, use ternary select.

Callers

nothing calls this directly

Calls 3

porFunction · 0.70
pandFunction · 0.70
pandnotFunction · 0.70

Tested by

no test coverage detected