1 #ifndef STAN_MATH_FWD_SCAL_FUN_ABS_HPP 2 #define STAN_MATH_FWD_SCAL_FUN_ABS_HPP 17 else if (x.
val_ < 0.0)
19 else if (x.
val_ == 0.0)
fvar< T > abs(const fvar< T > &x)
T d_
The tangent (derivative) of this variable.
const double NOT_A_NUMBER
(Quiet) not-a-number value.
T val_
The value of this variable.
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.