pub fn check_finite_slice(name: &'static str, values: &[f64]) -> Result<()>
Check all values in a slice are finite.