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

Detailed Description

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

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

Definition at line 34 of file tgamma.hpp.

#include <tgamma.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: