MCPcopy Create free account
hub / github.com/abess-team/abess / pround

Function pround

python/include/Eigen/src/Core/GenericPacketMath.h:427–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425
426/** \internal \returns the rounded value of \a a (coeff-wise) */
427template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
428Packet pround(const Packet& a) { using numext::round; return round(a); }
429
430/** \internal \returns the floor of \a a (coeff-wise) */
431template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS

Callers 1

packetOpMethod · 0.85

Calls 1

roundFunction · 0.70

Tested by

no test coverage detected