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

◆ is_nan() [1/4]

template<typename T , require_fvar_t< T > * = nullptr>
bool stan::math::is_nan ( T &&  x)
inline

Returns 1 if the input's value is NaN and 0 otherwise.

Delegates to is_nan.

Template Parameters
Tinner type of the fvar
Parameters
xValue to test.
Returns
1 if the value is NaN and 0 otherwise.

Definition at line 22 of file is_nan.hpp.