Skip to main content

eigs_near

Function eigs_near 

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

The k eigenvalues of the general A nearest the real shift σ, by eigs() on ShiftInvert (LuOptions::for_scalar::<T>()), mapped back by λ = σ + 1/ν, nearest first; conjugate pairs keep the +i member first.

§Errors

As eigs() and ShiftInvert::new.