Stan
2.5.0
probability, sampling & optimization
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
stan
math
functions
abs.hpp
Go to the documentation of this file.
1
#ifndef STAN__MATH__FUNCTIONS__ABS_HPP
2
#define STAN__MATH__FUNCTIONS__ABS_HPP
3
4
#include <cmath>
5
6
namespace
stan {
7
8
namespace
math {
9
19
double
abs
(
double
x) {
20
return
std::fabs
(x);
21
}
22
23
}
24
}
25
26
#endif
stan::agrad::fabs
fvar< T > fabs(const fvar< T > &x)
Definition:
fabs.hpp:18
stan::math::abs
double abs(double x)
Return floating-point absolute value.
Definition:
abs.hpp:19
[
Stan Home Page
]
© 2011–2014, Stan Development Team.