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

◆ is_not_nan()

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

Return true if y is not NaN.

This function is vectorized and will check each element of y. If no element is NaN, this function will return true.

Template Parameters
T_yType of y
Parameters
yVariable to check
Returns
true if no element of y is NaN

Definition at line 23 of file is_not_nan.hpp.