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