1#ifndef STAN_MATH_FWD_FUN_FALLING_FACTORIAL_HPP
2#define STAN_MATH_FWD_FUN_FALLING_FACTORIAL_HPP
fvar< T > falling_factorial(const fvar< T > &x, int n)
Return autodiff variable with the gradient and result of the falling factorial function applied to th...
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 ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...