1 #ifndef STAN_MATH_PRIM_SCAL_FUN_FINITE_DIFF_STEPSIZE_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_FINITE_DIFF_STEPSIZE_HPP 21 static const double cbrt_epsilon
22 =
std::cbrt(std::numeric_limits<double>::epsilon());
fvar< T > fabs(const fvar< T > &x)
fvar< T > cbrt(const fvar< T > &x)
Return cube root of specified argument.
double finite_diff_stepsize(double u)
Return the stepsize for finite difference evaluations at the specified scalar.
fvar< T > fmax(const fvar< T > &x1, const fvar< T > &x2)
Return the greater of the two specified arguments.