digamma.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_FUN_DIGAMMA_HPP
#define STAN_MATH_PRIM_SCAL_FUN_DIGAMMA_HPP
#include <stan/math/prim/scal/fun/boost_policy.hpp>
#include <boost/math/special_functions/digamma.hpp>
namespace stan {
namespace math {
inline double digamma(double x) {
return boost::math::digamma(x, boost_policy_t());
}
}
}
#endif
boost_policy.hpp
stan
Definition: log_sum_exp.hpp:8
stan::math::digamma
var digamma(const var &a)
Definition: digamma.hpp:23
stan::math::boost_policy_t
boost::math::policies::policy< boost::math::policies::overflow_error< boost::math::policies::errno_on_error >, boost::math::policies::pole_error< boost::math::policies::errno_on_error > > boost_policy_t
Boost policy that overrides the defaults to match the built-in C++ standard library functions...
Definition: boost_policy.hpp:23
stan::math::digamma
fvar< T > digamma(const fvar< T > &x)
Return the derivative of the log gamma function at the specified argument.
Definition: digamma.hpp:22

[ Stan Home Page ] © 2011–2016, Stan Development Team.