Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs 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/op/vv_vari.hpp>
#include <stan/agrad/rev/op/vd_vari.hpp>
#include <stan/agrad/rev/op/dv_vari.hpp>
#include <stan/agrad/rev/op/vector_vari.hpp>
#include <stan/agrad/rev/operator_greater_than.hpp>
#include <stan/agrad/rev/operator_not_equal.hpp>
#include <stan/math/functions/log_sum_exp.hpp>

Go to the source code of this file.

Namespaces

namespace  stan
 Probability, optimization and sampling library.
 
namespace  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.
 
var stan::agrad::log_sum_exp (const stan::agrad::var &a, const double &b)
 Returns the log sum of exponentials.
 
var stan::agrad::log_sum_exp (const double &a, const stan::agrad::var &b)
 Returns the log sum of exponentials.
 
var stan::agrad::log_sum_exp (const std::vector< var > &x)
 Returns the log sum of exponentials.
 

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