Stan
1.3
probability, sampling & optimization
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerator
Friends
Macros
Pages
src
stan
math
functions
logical_negation.hpp
Go to the documentation of this file.
1
#ifndef __STAN__MATH__FUNCTIONS__LOGICAL_NEGATION_HPP__
2
#define __STAN__MATH__FUNCTIONS__LOGICAL_NEGATION_HPP__
3
4
namespace
stan {
5
namespace
math {
6
15
template
<
typename
T>
16
inline
int
17
logical_negation
(
const
T x) {
18
return
(x == 0);
19
}
20
21
}
22
}
23
24
#endif
[
Stan Home Page
]
© 2011–2013, Stan Development Team.