Skip to main content

detect_sparse

Function detect_sparse 

Source
pub fn detect_sparse(v: &[i64]) -> Option<(i64, Vec<(usize, i64)>)>
Expand description

If one value dominates the column (covers ≥ ¾), return it and the sorted (index, value) exceptions.