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