Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
normal.hpp File Reference
#include <boost/random/normal_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <boost/utility/enable_if.hpp>
#include <stan/agrad/partials_vari.hpp>
#include <stan/math.hpp>
#include <stan/math/error_handling.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_loc , typename T_scale >
boost::enable_if_c
< is_var_or_arithmetic< T_y,
T_loc, T_scale >::value,
typename return_type< T_y,
T_loc, T_scale >::type >::type 
stan::prob::normal_log (const T_y &y, const T_loc &mu, const T_scale &sigma)
 The log of the normal density for the specified scalar(s) given the specified mean(s) and deviation(s). More...
 
template<typename T_y , typename T_loc , typename T_scale >
return_type< T_y, T_loc,
T_scale >::type 
stan::prob::normal_log (const T_y &y, const T_loc &mu, const T_scale &sigma)
 
template<typename T_y , typename T_loc , typename T_scale >
return_type< T_y, T_loc,
T_scale >::type 
stan::prob::normal_cdf (const T_y &y, const T_loc &mu, const T_scale &sigma)
 Calculates the normal cumulative distribution function for the given variate, location, and scale. More...
 
template<typename T_y , typename T_loc , typename T_scale >
return_type< T_y, T_loc,
T_scale >::type 
stan::prob::normal_cdf_log (const T_y &y, const T_loc &mu, const T_scale &sigma)
 
template<typename T_y , typename T_loc , typename T_scale >
return_type< T_y, T_loc,
T_scale >::type 
stan::prob::normal_ccdf_log (const T_y &y, const T_loc &mu, const T_scale &sigma)
 
template<class RNG >
double stan::prob::normal_rng (const double mu, const double sigma, RNG &rng)
 

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