Automatic Differentiation
 
Loading...
Searching...
No Matches
logical_gt.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_FUN_LOGICAL_GT_HPP
2#define STAN_MATH_PRIM_FUN_LOGICAL_GT_HPP
3
4namespace stan {
5namespace math {
6
17template <typename T1, typename T2>
18inline bool logical_gt(const T1 x1, const T2 x2) {
19 return x1 > x2;
20}
21
22} // namespace math
23} // namespace stan
24
25#endif
bool logical_gt(const T1 x1, const T2 x2)
Return 1 if the first argument is strictly greater than the second.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...