abs.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_FUN_ABS_HPP
#define STAN_MATH_PRIM_SCAL_FUN_ABS_HPP
#include <cmath>
namespace stan {
namespace math {
inline double abs(double x) {
return std::fabs(x);
}
}
}
#endif
stan::math::abs
fvar< T > abs(const fvar< T > &x)
Definition: abs.hpp:15
stan::math::fabs
fvar< T > fabs(const fvar< T > &x)
Definition: fabs.hpp:15
stan
Definition: log_sum_exp.hpp:8

[ Stan Home Page ] © 2011–2016, Stan Development Team.