1#ifndef STAN_MATH_PRIM_FUN_LGAMMA_STIRLING_HPP
2#define STAN_MATH_PRIM_FUN_LGAMMA_STIRLING_HPP
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
fvar< T > log(const fvar< T > &x)
return_type_t< T > lgamma_stirling(const T x)
Return the Stirling approximation to the lgamma function.
static constexpr double HALF_LOG_TWO_PI
The value of half the natural logarithm , .
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...