Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ lgamma() [6/7]

template<typename T , require_not_var_matrix_t< T > * = nullptr, require_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr>
auto stan::math::lgamma ( const T &  x)
inline

Vectorized version of lgamma().

Template Parameters
Ttype of container
Parameters
xcontainer
Returns
Natural log of the gamma function applied to each value in x.
Exceptions
std::domain_errorif any value is a negative integer or 0.

Definition at line 119 of file lgamma.hpp.