1 #ifndef STAN_MATH_FWD_MAT_FUN_EIGEN_NUMTRAITS_HPP
2 #define STAN_MATH_FWD_MAT_FUN_EIGEN_NUMTRAITS_HPP
15 struct NumTraits<
stan::math::fvar<T> > {
44 return std::numeric_limits<double>::epsilon();
82 RequireInitialization = 1,
95 struct significant_decimals_default_impl<
stan::math::fvar<T>, false> {
96 static inline int run() {
99 return cast<double, int>
100 (
ceil(-
log(std::numeric_limits<double>::epsilon())
stan::math::fvar< T > NonInteger
Non-integer valued variables.
fvar< T > log(const fvar< T > &x)
(Expert) Numerical traits for algorithmic differentiation variables.
static Real dummy_precision()
Return dummy precision.
static Real highest()
Return standard library's highest for double-precision floating point, std::numeric_limitsmax...
static Real lowest()
Return standard library's lowest for double-precision floating point, -std::numeric_limitsmax...
stan::math::fvar< T > Real
Real-valued variables.
stan::math::fvar< T > Nested
Nested variables.
int max(const std::vector< int > &x)
Returns the maximum coefficient in the specified column vector.
double e()
Return the base of the natural logarithm.
static Real epsilon()
Return standard library's epsilon for double-precision floating point, std::numeric_limits::e...
fvar< T > ceil(const fvar< T > &x)