Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
beta.hpp File Reference
#include <boost/math/special_functions/gamma.hpp>
#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/log1m.hpp>
#include <stan/math/functions/value_of.hpp>
#include <stan/meta/traits.hpp>
#include <stan/prob/constants.hpp>
#include <stan/prob/traits.hpp>
#include <stan/prob/internal_math.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_scale_succ , typename T_scale_fail , class Policy >
return_type< T_y, T_scale_succ,
T_scale_fail >::type 
stan::prob::beta_log (const T_y &y, const T_scale_succ &alpha, const T_scale_fail &beta, const Policy &)
 The log of the beta density for the specified scalar(s) given the specified sample size(s).
 
template<bool propto, typename T_y , typename T_scale_succ , typename T_scale_fail >
return_type< T_y, T_scale_succ,
T_scale_fail >::type 
stan::prob::beta_log (const T_y &y, const T_scale_succ &alpha, const T_scale_fail &beta)
 
template<typename T_y , typename T_scale_succ , typename T_scale_fail , class Policy >
return_type< T_y, T_scale_succ,
T_scale_fail >::type 
stan::prob::beta_log (const T_y &y, const T_scale_succ &alpha, const T_scale_fail &beta, const Policy &)
 
template<typename T_y , typename T_scale_succ , typename T_scale_fail >
return_type< T_y, T_scale_succ,
T_scale_fail >::type 
stan::prob::beta_log (const T_y &y, const T_scale_succ &alpha, const T_scale_fail &beta)
 
template<typename T_y , typename T_scale_succ , typename T_scale_fail , class Policy >
return_type< T_y, T_scale_succ,
T_scale_fail >::type 
stan::prob::beta_cdf (const T_y &y, const T_scale_succ &alpha, const T_scale_fail &beta, const Policy &)
 Calculates the beta cumulative distribution function for the given variate and scale variables.
 
template<typename T_y , typename T_scale_succ , typename T_scale_fail >
return_type< T_y, T_scale_succ,
T_scale_fail >::type 
stan::prob::beta_cdf (const T_y &y, const T_scale_succ &alpha, const T_scale_fail &beta)
 
template<class RNG >
double stan::prob::beta_rng (const double alpha, const double beta, RNG &rng)
 

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