Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/core/typedefs.hpp>
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/inv_logit.hpp>
#include <stan/math/prim/fun/log_sum_exp.hpp>
#include <cmath>
#include <vector>
Go to the source code of this file.
Classes | |
class | stan::math::internal::log_sum_exp_vv_vari |
class | stan::math::internal::log_sum_exp_vd_vari |
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
namespace | stan::math::internal |
A comparator that works for any container type that has the brackets operator. | |
Functions | |
var | stan::math::log_sum_exp (const var &a, const var &b) |
Returns the log sum of exponentials. | |
var | stan::math::log_sum_exp (const var &a, double b) |
Returns the log sum of exponentials. | |
var | stan::math::log_sum_exp (double a, const var &b) |
Returns the log sum of exponentials. | |
template<typename T , require_eigen_st< is_var, T > * = nullptr, require_not_var_matrix_t< T > * = nullptr> | |
var | stan::math::log_sum_exp (const T &v) |
Returns the log sum of exponentials of the input. | |
template<typename T , require_var_matrix_t< T > * = nullptr> | |
var | stan::math::log_sum_exp (const T &x) |
Returns the log sum of exponentials of the input. | |
template<typename T , require_container_st< is_fvar, T > * = nullptr> | |
auto | stan::math::log_sum_exp (const T &x) |
Return the log of the sum of the exponentiated values of the specified matrix of values. | |