MOAB
4.9.3pre
|
Template functor to compute the natural log of the absolute value of Gamma of a scalar. More...
#include <UnaryFunctors.h>
Public Types | |
typedef packet_traits< Scalar > ::type | Packet |
Public Member Functions | |
EIGEN_DEVICE_FUNC const Scalar | operator() (const Scalar &a) const |
EIGEN_DEVICE_FUNC Packet | packetOp (const Packet &a) const |
Template functor to compute the natural log of the absolute value of Gamma of a scalar.
Definition at line 412 of file UnaryFunctors.h.
typedef packet_traits<Scalar>::type Eigen::internal::scalar_lgamma_op< Scalar >::Packet |
Definition at line 417 of file UnaryFunctors.h.
EIGEN_DEVICE_FUNC const Scalar Eigen::internal::scalar_lgamma_op< Scalar >::operator() | ( | const Scalar & | a | ) | const [inline] |
Definition at line 414 of file UnaryFunctors.h.
{ using numext::lgamma; return lgamma(a); }
EIGEN_DEVICE_FUNC Packet Eigen::internal::scalar_lgamma_op< Scalar >::packetOp | ( | const Packet & | a | ) | const [inline] |
Definition at line 418 of file UnaryFunctors.h.
{ return internal::plgamma(a); }