1#ifndef STAN_MATH_REV_FUN_LOG_FALLING_FACTORIAL_HPP
2#define STAN_MATH_REV_FUN_LOG_FALLING_FACTORIAL_HPP
log_falling_factorial_dv_vari(double a, vari *bvi)
log_falling_factorial_vd_vari(vari *avi, double b)
log_falling_factorial_vv_vari(vari *avi, vari *bvi)
static constexpr double NOT_A_NUMBER
(Quiet) not-a-number value.
fvar< T > log_falling_factorial(const fvar< T > &x, const fvar< T > &n)
bool is_any_nan(const T &x)
Returns true if the input is NaN and false otherwise.
fvar< T > digamma(const fvar< T > &x)
Return the derivative of the log gamma function at the specified argument.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...