Stan Math Library
4.9.0
Automatic Differentiation
Loading...
Searching...
No Matches
isfinite.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_FUN_ISFINITE_HPP
2
#define STAN_MATH_PRIM_SCAL_FUN_ISFINITE_HPP
3
4
#include <
stan/math/prim/meta.hpp
>
5
6
namespace
stan
{
7
namespace
math {
8
20
template
<
typename
ADType, require_autodiff_t<ADType>* =
nullptr
>
21
inline
bool
isfinite
(ADType&& v) {
22
using
std::isfinite;
23
return
isfinite
(v.val());
24
}
25
26
}
// namespace math
27
}
// namespace stan
28
29
#endif
stan::math::isfinite
isfinite_< as_operation_cl_t< T > > isfinite(T &&a)
Definition
elt_function_cl.hpp:332
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
meta.hpp
stan
math
prim
fun
isfinite.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.