pub fn is_finite_array<T>(a: &[T]) -> boolwhere T: Float,
Returns true if and only if all elements of a given array are finite
true
Note that values like std::f64::INFINITY, std::f64::NEG_INFINITY and std::f64::NAN are not finite.
std::f64::INFINITY
std::f64::NEG_INFINITY
std::f64::NAN
a
Does not panic