Skip to main content

eigs

Function eigs 

Source
pub fn eigs(
    a: &dyn LinearOperator,
    k: usize,
    which: EigsWhich,
    options: &EigsOptions,
) -> Result<EigsResult>
Expand description

k eigenvalues and eigenvectors of a square operator (SciPy’s eigs), by the Krylov-Schur method. The Arnoldi process builds an orthonormal basis V of a Krylov subspace with A V = V H + f eₘᵀ; the eigenvalues of the small H (Ritz values) approximate those of A, with residuals ‖f‖ |eₘᵀ y| known without forming the vectors. When the subspace reaches ncv vectors, the Schur form of H is reordered to put the wanted Ritz values first, and the factorisation is cut back to their invariant subspace: a real orthonormal basis of it, so that the work stays in real arithmetic. The Arnoldi process then extends it again.