Skip to main content

row_scale

Function row_scale 

Source
pub fn row_scale(a: &CsrMatrix, scales: &[f64]) -> CsrMatrix
Expand description

Row-scale a CSR matrix: D_r A where D_r = diag(scales).