MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / plog2

Function plog2

dependency/densecrf/include/Eigen/src/Core/GenericPacketMath.h:807–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805
806/** \internal \returns the log10 of \a a (coeff-wise) */
807template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
808Packet plog2(const Packet& a) {
809 typedef typename internal::unpacket_traits<Packet>::type Scalar;
810 return pmul(pset1<Packet>(Scalar(EIGEN_LOG2E)), plog(a));
811}
812
813/** \internal \returns the square-root of \a a (coeff-wise) */
814template<typename Packet> EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS

Callers 2

operator()Method · 0.50
packetOpMethod · 0.50

Calls 2

pmulFunction · 0.70
plogFunction · 0.70

Tested by

no test coverage detected