![]() |
|
Template functor to compute the base-2 logarithm of a scalar. More...
#include <UnaryFunctors.h>
Public Types | |
using | RealScalar = typename NumTraits< Scalar >::Real |
Public Member Functions | |
EIGEN_DEVICE_FUNC const Scalar | operator() (const Scalar &a) const |
template<typename Packet > | |
EIGEN_DEVICE_FUNC Packet | packetOp (const Packet &a) const |
Template functor to compute the base-2 logarithm of a scalar.
using Eigen::internal::scalar_log2_op< Scalar >::RealScalar = typename NumTraits<Scalar>::Real |
|
inline |
References a, EIGEN_LOG2E, and Eigen::numext::log().
|
inline |
References a, and Eigen::internal::plog2().