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

Function prsqrt

Eigen/src/Core/GenericPacketMath.h:421–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419
420/** \internal \returns the reciprocal square-root of \a a (coeff-wise) */
421template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
422Packet prsqrt(const Packet& a) {
423 return pdiv(pset1<Packet>(1), psqrt(a));
424}
425
426/** \internal \returns the rounded value of \a a (coeff-wise) */
427template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS

Callers 1

packetOpMethod · 0.85

Calls 2

pdivFunction · 0.85
psqrtFunction · 0.85

Tested by

no test coverage detected