Skip to main content

spmv_axpby

Function spmv_axpby 

Source
pub fn spmv_axpby(
    matrix: &CsrMatrix,
    x: &[f64],
    y: &mut [f64],
    alpha: f64,
    beta: f64,
) -> Result<()>
Expand description

SpMV with y = alpha * A * x + beta * y (BLAS-style).

This allows accumulating results without allocating new vectors.