Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
exponential.hpp File Reference
#include <boost/random/exponential_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <stan/agrad/partials_vari.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

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

Functions

template<bool propto, typename T_y , typename T_inv_scale >
return_type< T_y, T_inv_scale >
::type 
stan::prob::exponential_log (const T_y &y, const T_inv_scale &beta)
 The log of an exponential density for y with the specified inverse scale parameter. More...
 
template<typename T_y , typename T_inv_scale >
return_type< T_y, T_inv_scale >
::type 
stan::prob::exponential_log (const T_y &y, const T_inv_scale &beta)
 
template<typename T_y , typename T_inv_scale >
return_type< T_y, T_inv_scale >
::type 
stan::prob::exponential_cdf (const T_y &y, const T_inv_scale &beta)
 Calculates the exponential cumulative distribution function for the given y and beta. More...
 
template<typename T_y , typename T_inv_scale >
return_type< T_y, T_inv_scale >
::type 
stan::prob::exponential_cdf_log (const T_y &y, const T_inv_scale &beta)
 
template<typename T_y , typename T_inv_scale >
return_type< T_y, T_inv_scale >
::type 
stan::prob::exponential_ccdf_log (const T_y &y, const T_inv_scale &beta)
 
template<class RNG >
double stan::prob::exponential_rng (const double beta, RNG &rng)
 

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