![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/fun/log.hpp>
#include <stan/math/rev/fun/elt_multiply.hpp>
#include <stan/math/rev/fun/multiply.hpp>
#include <stan/math/rev/fun/multiply_log.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/is_any_nan.hpp>
#include <stan/math/prim/fun/lmultiply.hpp>
#include <cmath>
Go to the source code of this file.
Classes | |
class | stan::math::internal::lmultiply_vv_vari |
class | stan::math::internal::lmultiply_vd_vari |
class | stan::math::internal::lmultiply_dv_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::lmultiply (const var &a, const var &b) |
Return the value of a*log(b). | |
var | stan::math::lmultiply (const var &a, double b) |
Return the value of a*log(b). | |
var | stan::math::lmultiply (double a, const var &b) |
Return the value of a*log(b). | |
template<typename T1 , typename T2 , require_all_matrix_t< T1, T2 > * = nullptr, require_any_var_matrix_t< T1, T2 > * = nullptr> | |
auto | stan::math::lmultiply (const T1 &a, const T2 &b) |
Return the elementwise product a * log(b) . | |