Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ is_less_or_equal()

template<typename T_y , typename T_high >
bool stan::math::is_less_or_equal ( const T_y &  y,
const T_high &  high 
)
inline

Return true if y is less or equal to high.

This function is vectorized and will check each element of y against each element of high.

Template Parameters
T_yType of y
T_highType of upper bound
Parameters
yVariable to check
highUpper bound
Returns
true if y is less than or equal to low and if and element of y or high is NaN

Definition at line 26 of file is_less_or_equal.hpp.