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

Function pcast

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

Source from the content-addressed store, hash-verified

286/** \internal \returns static_cast<TgtType>(a) (coeff-wise) */
287template <typename SrcPacket, typename TgtPacket>
288EIGEN_DEVICE_FUNC inline TgtPacket pcast(const SrcPacket& a) {
289 return pcast_generic<SrcPacket, TgtPacket>::run(a);
290}
291template <typename SrcPacket, typename TgtPacket>
292EIGEN_DEVICE_FUNC inline TgtPacket pcast(const SrcPacket& a, const SrcPacket& b) {
293 return pcast_generic<SrcPacket, TgtPacket>::run(a, b);

Callers

nothing calls this directly

Calls 1

runFunction · 0.85

Tested by

no test coverage detected