Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/fwd/meta.hpp>
#include <stan/math/fwd/core.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/fwd/fun/expm1.hpp>
#include <stan/math/prim/fun/log_diff_exp.hpp>
Go to the source code of this file.
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. | |
Functions | |
template<typename T > | |
fvar< T > | stan::math::log_diff_exp (const fvar< T > &x1, const fvar< T > &x2) |
template<typename T1 , typename T2 , require_arithmetic_t< T1 > * = nullptr> | |
fvar< T2 > | stan::math::log_diff_exp (const T1 &x1, const fvar< T2 > &x2) |
template<typename T1 , typename T2 , require_arithmetic_t< T2 > * = nullptr> | |
fvar< T1 > | stan::math::log_diff_exp (const fvar< T1 > &x1, const T2 &x2) |