Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
is_inf.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_REV_FUN_IS_INF_HPP
2
#define STAN_MATH_REV_FUN_IS_INF_HPP
3
4
#include <
stan/math/rev/meta.hpp
>
5
#include <
stan/math/rev/core.hpp
>
6
#include <
stan/math/prim/fun/is_inf.hpp
>
7
8
namespace
stan
{
9
namespace
math {
10
20
inline
int
is_inf
(
const
var
& v) {
return
is_inf
(v.val()); }
21
22
}
// namespace math
23
}
// namespace stan
24
#endif
stan::math::var_value< double >
stan::math::is_inf
int is_inf(const fvar< T > &x)
Returns 1 if the input's value is infinite and 0 otherwise.
Definition
is_inf.hpp:21
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
is_inf.hpp
core.hpp
meta.hpp
stan
math
rev
fun
is_inf.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.