Skip to main content

eigsh_near

Function eigsh_near 

Source
pub fn eigsh_near<T: Real>(
    a: &CscMatrix<T>,
    k: usize,
    sigma: T,
    opts: &EigsOptions<T>,
) -> Result<(SymEigen<T>, usize), StatlaError>
Expand description

The k eigenvalues of the symmetric A nearest σ: eigsh() with LargestMagnitude on SymShiftInvert, mapped back by λ = σ + 1/ν (ARPACK mode 3 for the standard problem), nearest first. Returns also SymShiftInvert::count_below. Only the lower triangle of a is read.

§Errors

As eigsh() and SymShiftInvert::new.