![]() |
Stan
1.3
probability, sampling & optimization
|
#include <boost/random/exponential_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_inv_scale , class Policy > | |
| return_type< T_y, T_inv_scale > ::type | stan::prob::exponential_log (const T_y &y, const T_inv_scale &beta, const Policy &) |
| The log of an exponential density for y with the specified inverse scale parameter. | |
| 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) |
| template<typename T_y , typename T_inv_scale , class Policy > | |
| return_type< T_y, T_inv_scale > ::type | stan::prob::exponential_log (const T_y &y, const T_inv_scale &beta, const Policy &) |
| 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 , class Policy > | |
| boost::math::tools::promote_args < T_y, T_inv_scale >::type | stan::prob::exponential_cdf (const T_y &y, const T_inv_scale &beta, const Policy &) |
| Calculates the exponential cumulative distribution function for the given y and beta. | |
| template<typename T_y , typename T_inv_scale > | |
| boost::math::tools::promote_args < T_y, T_inv_scale >::type | stan::prob::exponential_cdf (const T_y &y, const T_inv_scale &beta) |
| template<class RNG > | |
| double | stan::prob::exponential_rng (const double beta, RNG &rng) |