|
MOAB
4.9.3pre
|
Template functor to compute psi, the derivative of lgamma 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 psi, the derivative of lgamma of a scalar.
Definition at line 434 of file UnaryFunctors.h.
| typedef packet_traits<Scalar>::type Eigen::internal::scalar_digamma_op< Scalar >::Packet |
Definition at line 439 of file UnaryFunctors.h.
| EIGEN_DEVICE_FUNC const Scalar Eigen::internal::scalar_digamma_op< Scalar >::operator() | ( | const Scalar & | a | ) | const [inline] |
Definition at line 436 of file UnaryFunctors.h.
{
using numext::digamma; return digamma(a);
}
| EIGEN_DEVICE_FUNC Packet Eigen::internal::scalar_digamma_op< Scalar >::packetOp | ( | const Packet & | a | ) | const [inline] |
Definition at line 440 of file UnaryFunctors.h.
{ return internal::pdigamma(a); }