pub fn is_any_nan<T>(a: &[T]) -> boolwhere
    T: Float,
Expand description

Checks whether a given array contains any NaN elements

Arguments

  • a an array of floating-point numbers

Returns

Returns true if and only if there is at least one element which is NaN

Panics

No panics