Automatic Differentiation
 
Loading...
Searching...
No Matches
isnormal.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_SCAL_FUN_ISNORMAL_HPP
2#define STAN_MATH_PRIM_SCAL_FUN_ISNORMAL_HPP
3
5
6namespace stan {
7namespace math {
8
20template <typename ADType, require_autodiff_t<ADType>* = nullptr>
21inline bool isnormal(ADType&& v) {
22 using std::isnormal;
23 return isnormal(v.val());
24}
25
26} // namespace math
27} // namespace stan
28
29#endif
bool isnormal(ADType &&v)
Return true if specified argument is normal.
Definition isnormal.hpp:21
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...