pub fn all_finite(vec : ArrayView1<f32>) -> bool {
    let n = vec.shape()[0];
    for i in 0..n {
        if !vec[[i,]].is_finite() {
            return false;
        }
    }
    true
}
///Returns `true` only if all elements of `vec` are finite floats.
Returns `true` only if all elements of `vec` are finite floats.
Returns ` true ` only if all elements of ` vec ` are finite floats .
pub fn all_finite(vec : ArrayView1<f32>) -> bool {
    let n = vec.shape()[0];
    for i in 0..n {
        if !vec[[i,]].is_finite() {
            return false;
        }
    }
    true
}
pub fn all_finite ( vec : ArrayView1 < f32 > ) -> bool { let n = vec . shape ( ) [ 0 ] ; for i in 0 .. n { if ! vec [ [ i , ] ] . is_finite ( ) { return false ; } } true }
Returns `true` only if all elements of `vec` are finite floats.
Returns ` true ` only if all elements of ` vec ` are finite floats .
vec
ArrayView1<f32>
vec
ArrayView1<f32>