Stan Math Library
5.0.0
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
4
#include <
stan/math/rev/meta.hpp
>
5
#include <
stan/math/rev/core.hpp
>
6
#include <
stan/math/prim/fun/is_nan.hpp
>
7
8
namespace
stan
{
9
namespace
math {
10
20
inline
bool
is_nan
(
const
var
& v) {
return
is_nan
(v.val()); }
21
22
}
// namespace math
23
}
// namespace stan
24
#endif
stan::math::var_value< double >
stan::math::is_nan
bool is_nan(T &&x)
Returns 1 if the input's value is NaN and 0 otherwise.
Definition
is_nan.hpp:22
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
is_nan.hpp
core.hpp
meta.hpp
stan
math
rev
fun
is_nan.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.