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

Returns true if and only if all elements of a given array are finite

Note that values like std::f64::INFINITY, std::f64::NEG_INFINITY and std::f64::NAN are not finite.

Arguments

  • a given array of floating-point numbers

Panics

Does not panic