Skip to main content

normalize_coord

Function normalize_coord 

Source
pub fn normalize_coord(
    schema: &ArraySchema,
    components: &[CoordValue],
    bits: u32,
) -> ArrayResult<Vec<u64>>
Expand description

Normalize one cell coordinate into per-dim integer coordinates in [0, 2^bits). The output Vec has the same arity as the schema.