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_or.hpp
Go to the documentation of this file.
1
#ifndef __STAN__MATH__FUNCTIONS__LOGICAL_OR_HPP__
2
#define __STAN__MATH__FUNCTIONS__LOGICAL_OR_HPP__
3
4
namespace
stan {
5
namespace
math {
6
18
template
<
typename
T1,
typename
T2>
19
inline
int
20
logical_or
(T1 x1, T2 x2) {
21
return
(x1 != 0) || (x2 != 0);
22
}
23
24
}
25
}
26
27
#endif
[
Stan Home Page
]
© 2011–2013, Stan Development Team.