1 #ifndef STAN_MATH_PRIM_SCAL_FUN_IS_ANY_NAN_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_IS_ANY_NAN_HPP 34 template <
typename T,
typename... Ts>
bool is_any_nan(const T &x)
Returns true if the input is NaN and false otherwise.
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.