Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ is_any_nan() [1/2]

template<typename T >
bool stan::math::is_any_nan ( const T &  x)
inline

Returns true if the input is NaN and false otherwise.

Delegates to stan::math::is_nan so that appropriate specializations can be loaded for autodiff types.

Parameters
xValue to test.
Returns
true if the value is NaN.

Definition at line 21 of file is_any_nan.hpp.