pub fn assert_finite<S, D, F>( array: &ArrayBase<S, D>, name: &str, ) -> CoreResult<()>where S: Data<Elem = F>, D: Dimension, F: Float + Display,
Assert that every element of the array is finite (not NaN, not Inf).