MCPcopy Create free account
hub / github.com/PX4/eigen / pblend

Function pblend

Eigen/src/Core/GenericPacketMath.h:556–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554};
555
556template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
557pblend(const Selector<unpacket_traits<Packet>::size>& ifPacket, const Packet& thenPacket, const Packet& elsePacket) {
558 return ifPacket.select[0] ? thenPacket : elsePacket;
559}
560
561/** \internal \returns \a a with the first coefficient replaced by the scalar b */
562template<typename Packet> EIGEN_DEVICE_FUNC inline Packet

Callers 2

pinsertfirstFunction · 0.70
pinsertlastFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected