Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Check if y
is positive and finite.
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 any element of y is not positive or if any element of y is NaN. |
Definition at line 22 of file check_positive_finite.hpp.