Skip to main content

row_sets

Function row_sets 

Source
fn row_sets(
    a: &CsrMatrix<f64>,
    p: usize,
    (h, l): (&[f64], &[f64]),
    mark: &mut [bool],
    support: &mut Vec<usize>,
    cols: &mut Vec<usize>,
)
Expand description

Step E3, the sets: support ← S_p (the i with h_i ≠ 0 or ℓ_i ≠ 0) and cols ← Q_p (the columns stored in the rows of S_p, and p), each without repetition; mark is all false on entry and on exit.