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

◆ is_positive() [1/2]

template<typename T_y >
bool stan::math::is_positive ( const T_y &  y)
inline

Return true if y is positive.

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

Template Parameters
T_yType of y
Parameters
yVariable to check
Returns
true if vector contains only positive elements

Definition at line 20 of file is_positive.hpp.