pub fn is_finite<T>(a: &[T]) -> bool
where T: Float,
Expand description

Checks whether all elements of a vector are finite

§Returns

Returns true if all elements are finite and false if any of the elements are either NaN or Infinity