![]() |
Stan
1.3
probability, sampling & optimization
|
#include <stan/math/functions/log1p.hpp>#include <vector>#include <boost/math/tools/promotion.hpp>#include <limits>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| Probability, optimization and sampling library. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename T1 , typename T2 > | |
| boost::math::tools::promote_args < T1, T2 >::type | stan::math::log_sum_exp (const T2 &a, const T1 &b) |
| Calculates the log sum of exponetials without overflow. | |
| template<typename T > | |
| T | stan::math::log_sum_exp (const std::vector< T > &x) |
| Return the log of the sum of the exponentiated values of the specified sequence of values. | |