Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::lgamma_fun Struct Reference

Detailed Description

Structure to wrap lgamma() so that it can be vectorized.

Template Parameters
Ttype of variable
Parameters
xvariable
Returns
Natural log of the gamma function applied to x.
Exceptions
std::domain_errorif x is a negative integer or 0.

Definition at line 101 of file lgamma.hpp.

#include <lgamma.hpp>

Static Public Member Functions

template<typename T >
static auto fun (const T &x)
 

The documentation for this struct was generated from the following file: