|
inlineconstexpr |
Returns a logical true if and only if the element value is not NaN.
Defined in Header
Parameters
Return value
For real entries the call `eve::is_not_nan(x)` is semantically equivalent to: `eve::is_equal(x, x)` in particular this is always true for integral types. For complex entries `is_not_nan(z)` is semantically equivalent to `eve::is_not_nan(real(z)) && eve::is_not_nan(imag(z))`,
Masked Call
The call eve;is_not_nan[mask](x)
provides a masked version of eve::is_not_nan
which is equivalent to if_else (mask, is_not_nan(x), eve::false( eve::as(x)))
.
Example