Automatic Differentiation
 
Loading...
Searching...
No Matches
is_nan.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_REV_FUN_IS_NAN_HPP
2#define STAN_MATH_REV_FUN_IS_NAN_HPP
3
7
8namespace stan {
9namespace math {
10
20inline bool is_nan(const var& v) { return is_nan(v.val()); }
21
22} // namespace math
23} // namespace stan
24#endif
bool is_nan(T &&x)
Returns 1 if the input's value is NaN and 0 otherwise.
Definition is_nan.hpp:22
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...