![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
Structure to wrap lgamma() so that it can be vectorized.
| T | type of variable |
| x | variable |
| std::domain_error | if 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 (T &&x) |