Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
gamma.hpp File Reference
#include <boost/random/gamma_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <stan/agrad.hpp>
#include <stan/math/error_handling.hpp>
#include <stan/math/functions/value_of.hpp>
#include <stan/meta/traits.hpp>
#include <stan/prob/constants.hpp>
#include <stan/prob/traits.hpp>

Go to the source code of this file.

Namespaces

namespace  stan
 Probability, optimization and sampling library.
 
namespace  stan::prob
 Templated probability distributions.
 

Functions

template<bool propto, typename T_y , typename T_shape , typename T_inv_scale , class Policy >
return_type< T_y, T_shape,
T_inv_scale >::type 
stan::prob::gamma_log (const T_y &y, const T_shape &alpha, const T_inv_scale &beta, const Policy &)
 The log of a gamma density for y with the specified shape and inverse scale parameters.
 
template<bool propto, typename T_y , typename T_shape , typename T_inv_scale >
return_type< T_y, T_shape,
T_inv_scale >::type 
stan::prob::gamma_log (const T_y &y, const T_shape &alpha, const T_inv_scale &beta)
 
template<typename T_y , typename T_shape , typename T_inv_scale , class Policy >
return_type< T_y, T_shape,
T_inv_scale >::type 
stan::prob::gamma_log (const T_y &y, const T_shape &alpha, const T_inv_scale &beta, const Policy &)
 
template<typename T_y , typename T_shape , typename T_inv_scale >
return_type< T_y, T_shape,
T_inv_scale >::type 
stan::prob::gamma_log (const T_y &y, const T_shape &alpha, const T_inv_scale &beta)
 
template<class RNG >
double stan::prob::gamma_rng (const double alpha, const double beta, RNG &rng)
 The cumulative density function for a gamma distribution for y with the specified shape and inverse scale parameters.
 

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