1#ifndef STAN_MATH_PRIM_ERR_IS_NOT_NAN_HPP
2#define STAN_MATH_PRIM_ERR_IS_NOT_NAN_HPP
22template <
typename T_y>
T get(const T &x, size_t n)
Returns the provided element.
int64_t size(const T &m)
Returns the size (number of the elements) of a matrix_cl or var_value<matrix_cl<T>>.
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.
bool is_nan(T &&x)
Returns 1 if the input's value is NaN and 0 otherwise.
bool is_not_nan(const T_y &y)
Return true if y is not NaN.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...