Stan Math Library  2.10.0
reverse mode automatic differentiation
Namespaces | Functions
log_sum_exp.hpp File Reference
#include <stan/math/prim/scal/fun/log1p_exp.hpp>
#include <boost/math/tools/promotion.hpp>
#include <limits>

Go to the source code of this file.

Namespaces

 stan
 
 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. More...
 

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