pub fn assert_none_is_nan<T>(a: &[T], msg: &str)where T: Float,
Asserts that no element of an array is NaN
NaN
a
msg
This function will panic if any element of the given array is NaN