pub(crate) fn element<T: Copy>(values: &[T], i: usize) -> T
Element i of a scalar-or-array input of validated length.
i