Stan Math Library
2.15.0
reverse mode automatic differentiation
stan
math
prim
scal
fun
tgamma.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_FUN_TGAMMA_HPP
2
#define STAN_MATH_PRIM_SCAL_FUN_TGAMMA_HPP
3
4
#include <boost/math/special_functions/gamma.hpp>
5
6
namespace
stan
{
7
namespace
math {
8
15
inline
double
tgamma
(
double
x) {
16
return
boost::math::tgamma
(x);
17
}
18
19
}
20
}
21
#endif
stan
Definition:
log_sum_exp.hpp:8
stan::math::tgamma
var tgamma(const var &a)
Return the Gamma function applied to the specified variable (C99).
Definition:
tgamma.hpp:61
stan::math::tgamma
fvar< T > tgamma(const fvar< T > &x)
Return the result of applying the gamma function to the specified argument.
Definition:
tgamma.hpp:20
[
Stan Home Page
]
© 2011–2016, Stan Development Team.