pub fn coord_to_offset(coord: &[u64], coord_bounds: &[u64]) -> u64
Expand description

Convert a coordinate to a linear offset.