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/vector_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>

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

var stan::agrad::log_sum_exp (const stan::agrad::var &a, const stan::agrad::var &b)
 Returns the log sum of exponentials. More...
 
var stan::agrad::log_sum_exp (const stan::agrad::var &a, const double &b)
 Returns the log sum of exponentials. More...
 
var stan::agrad::log_sum_exp (const double &a, const stan::agrad::var &b)
 Returns the log sum of exponentials. More...
 
var stan::agrad::log_sum_exp (const std::vector< var > &x)
 Returns the log sum of exponentials. More...
 

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