Skip to main content

rows

Function rows 

Source
fn rows(
    a: &CsrMatrix<f64>,
    distil: bool,
    fill: impl FnMut(usize, &[u32], &[f64], &mut Vec<f64>, &mut Vec<f64>),
) -> Vec<Interval>
Expand description

Algorithm V over the rows of a: fill(i, cols, vals, p, q) appends to the empty (p, q) the pairs of row i (step V1); with distil, steps V4–V7 narrow each row.