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 <stan/agrad/rev/var.hpp>
#include <stan/agrad/rev/calculate_chain.hpp>
#include <stan/agrad/rev/internal/vv_vari.hpp>
#include <stan/agrad/rev/internal/vd_vari.hpp>
#include <stan/agrad/rev/internal/dv_vari.hpp>
#include <stan/agrad/rev/internal/matrix_vari.hpp>
#include <stan/agrad/rev/operators/operator_greater_than.hpp>
#include <stan/agrad/rev/operators/operator_not_equal.hpp>
#include <stan/math/functions/log_sum_exp.hpp>
#include <stan/math/matrix/Eigen.hpp>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::agrad
 Function gradients via reverse-mode automatic differentiation.
 

Functions

template<int R, int C>
var stan::agrad::log_sum_exp (const Eigen::Matrix< var, R, C > &x)
 Returns the log sum of exponentials. More...
 

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