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

◆ tgamma() [5/7]

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

Vectorized version of tgamma().

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

Definition at line 53 of file tgamma.hpp.