pub fn eigs<T, O>(
op: &mut O,
k: usize,
which: Which,
opts: &EigsOptions<T>,
) -> Result<Eigen<T>, StatlaError>Expand description
k eigenpairs of a general real operator.
Algorithm KS of Chapter 12.6 (Krylov–Schur, Stewart 2001; S7): Arnoldi with DGKS, real Schur form of the projected matrix by Francis double-shift QR, reordering by Bai–Demmel swaps so that the wanted lead (conjugate pairs never split), locking and purging by truncation, eigenvectors by back substitution in the quasi-triangular form.
§Errors
As eigsh(), with k ≥ n − 1 invalid (ARPACK’s dnaupd rule) and the
which set LM SM LR SR LI SI.