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
agrad
rev
functions
abs.hpp
Go to the documentation of this file.
1
#ifndef STAN__AGRAD__REV__FUNCTIONS__ABS_HPP
2
#define STAN__AGRAD__REV__FUNCTIONS__ABS_HPP
3
4
#include <
stan/agrad/rev/functions/fabs.hpp
>
5
6
namespace
stan {
7
namespace
agrad {
8
35
inline
var
abs
(
const
var
& a) {
36
return
fabs
(a);
37
}
38
39
}
40
}
41
#endif
stan::agrad::fabs
fvar< T > fabs(const fvar< T > &x)
Definition:
fabs.hpp:18
fabs.hpp
stan::agrad::abs
fvar< T > abs(const fvar< T > &x)
Definition:
abs.hpp:19
stan::agrad::var
Independent (input) and dependent (output) variables for gradients.
Definition:
var.hpp:27
[
Stan Home Page
]
© 2011–2014, Stan Development Team.