Eigen::internal::scalar_gamma_sample_der_alpha_op< Scalar > Struct Template Reference

Template functor to compute the derivative of the sample of a Gamma(alpha, 1) random variable with respect to the parameter alpha gamma_sample_der_alpha(alpha, sample) More...

#include <SpecialFunctionsFunctors.h>

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (const Scalar &alpha, const Scalar &sample) const
 
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet packetOp (const Packet &alpha, const Packet &sample) const
 

Detailed Description

template<typename Scalar>
struct Eigen::internal::scalar_gamma_sample_der_alpha_op< Scalar >

Template functor to compute the derivative of the sample of a Gamma(alpha, 1) random variable with respect to the parameter alpha gamma_sample_der_alpha(alpha, sample)

See also
class CwiseBinaryOp, Cwise::gamma_sample_der_alpha

Member Function Documentation

◆ operator()()

template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_gamma_sample_der_alpha_op< Scalar >::operator() ( const Scalar alpha,
const Scalar sample 
) const
inline
81  {
83  return gamma_sample_der_alpha(alpha, sample);
84  }
RealScalar alpha
Definition: level1_cplx_impl.h:151
EIGEN_STRONG_INLINE const Eigen::CwiseBinaryOp< Eigen::internal::scalar_gamma_sample_der_alpha_op< typename AlphaDerived::Scalar >, const AlphaDerived, const SampleDerived > gamma_sample_der_alpha(const Eigen::ArrayBase< AlphaDerived > &alpha, const Eigen::ArrayBase< SampleDerived > &sample)
Definition: SpecialFunctionsArrayAPI.h:75

References alpha, and Eigen::gamma_sample_der_alpha().

◆ packetOp()

template<typename Scalar >
template<typename Packet >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_gamma_sample_der_alpha_op< Scalar >::packetOp ( const Packet alpha,
const Packet sample 
) const
inline
86  {
88  }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet pgamma_sample_der_alpha(const Packet &alpha, const Packet &sample)
Definition: SpecialFunctionsPacketMath.h:89

References alpha, and Eigen::internal::pgamma_sample_der_alpha().


The documentation for this struct was generated from the following file: