Skip to main content

residual_csc

Function residual_csc 

Source
pub fn residual_csc(
    a: &CscMatrix<f64>,
    x: &[f64],
    b: &[f64],
) -> Result<Vec<Interval>, VerifyError>
Expand description

As residual for a column-compressed matrix (one scatter pass; O(nnz) extra memory for the row gather).

§Errors

VerifyError::Dimension.

§Panics

If a violates the invariants of its type.