Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
log_sum_exp.hpp File Reference
#include <limits>
#include <vector>
#include <boost/math/tools/promotion.hpp>
#include <stan/math/functions/log1p.hpp>
#include <stan/math/matrix/Eigen.hpp>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<int R, int C>
double stan::math::log_sum_exp (const Eigen::Matrix< double, R, C > &x)
 Return the log of the sum of the exponentiated values of the specified matrix of values. More...
 

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