1 #ifndef STAN_MATH_PRIM_SCAL_ERR_IS_NOT_NAN_HPP 2 #define STAN_MATH_PRIM_SCAL_ERR_IS_NOT_NAN_HPP 20 template <
typename T_y>
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.
size_t length(const std::vector< T > &x)
Returns the length of the provided std::vector.
T get(const std::vector< T > &x, size_t n)
Returns the n-th element of the provided std::vector.
bool is_not_nan(const T_y &y)
Return true if y is not NaN.
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.