1 #ifndef STAN_MATH_FWD_SCAL_FUN_LMGAMMA_HPP 2 #define STAN_MATH_FWD_SCAL_FUN_LMGAMMA_HPP 17 for (
int count = 1; count < x1 + 1; count++)
T d_
The tangent (derivative) of this variable.
fvar< T > log(const fvar< T > &x)
T val_
The value of this variable.
fvar< typename stan::return_type< T, int >::type > lmgamma(int x1, const fvar< T > &x2)
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.
fvar< T > digamma(const fvar< T > &x)
Return the derivative of the log gamma function at the specified argument.