Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Check if y
is positive.
This function is vectorized and will check each element of y
.
T_y | Type of y |
function | Function name (for error messages) |
name | Variable name (for error messages) |
y | Variable to check |
<code>domain_error</code> | if y is negative or zero or if any element of y is NaN |
Definition at line 27 of file check_positive.hpp.