1#ifndef STAN_MATH_FWD_FUN_ABS_HPP
2#define STAN_MATH_FWD_FUN_ABS_HPP
18 }
else if (x.
val_ < 0.0) {
20 }
else if (x.
val_ == 0.0) {
V complex_abs(const std::complex< V > &z)
Return the absolute value of the complex argument.
fvar< T > abs(const fvar< T > &x)
static constexpr double NOT_A_NUMBER
(Quiet) not-a-number value.
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,...