Stan Math Library  2.11.0
reverse mode automatic differentiation
Namespaces | Functions
log_sum_exp.hpp File Reference
#include <cmath>
#include <cstdlib>
#include <limits>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

double stan::math::log_sum_exp (const std::vector< double > &x)
 Return the log of the sum of the exponentiated values of the specified sequence of values. More...
 

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