1 #ifndef STAN_MATH_FWD_SCAL_FUN_LOG_DIFF_EXP_HPP 2 #define STAN_MATH_FWD_SCAL_FUN_LOG_DIFF_EXP_HPP 23 template <
typename T1,
typename T2>
31 template <
typename T1,
typename T2>
T d_
The tangent (derivative) of this variable.
const double NOT_A_NUMBER
(Quiet) not-a-number value.
fvar< T > log_diff_exp(const fvar< T > &x1, const fvar< T > &x2)
fvar< T > expm1(const fvar< T > &x)
T val_
The value of this variable.
fvar< T > exp(const fvar< T > &x)
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.