1#ifndef STAN_MATH_FWD_FUN_LOG_DIFF_EXP_HPP
2#define STAN_MATH_FWD_FUN_LOG_DIFF_EXP_HPP
26template <
typename T1,
typename T2, require_arithmetic_t<T1>* =
nullptr>
37template <
typename T1,
typename T2, require_arithmetic_t<T2>* =
nullptr>
static constexpr double NOT_A_NUMBER
(Quiet) not-a-number value.
fvar< T > expm1(const fvar< T > &x)
static constexpr double NEGATIVE_INFTY
Negative infinity.
fvar< T > log_diff_exp(const fvar< T > &x1, const fvar< T > &x2)
static constexpr double INFTY
Positive infinity.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Scalar val_
The value of this variable.
Scalar d_
The tangent (derivative) of this variable.
This template class represents scalars used in forward-mode automatic differentiation,...