Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Check if y
is not NaN
.
This function is vectorized and will check each element of y
. If any element is NaN
, this function will throw an exception.
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 NaN |
Definition at line 26 of file check_not_nan.hpp.