Expand description
The Jacobi eigenvalue method for symmetric matrices (Jacobi, 1846).
A plane rotation J in the (p, q) plane can be chosen so that Jᵀ A J has a zero in position
(p, q). Later rotations fill that zero in again, but the sum of squares of the off-diagonal
entries falls by 2 a_pq² every time, so sweeping over all pairs repeatedly drives A to a
diagonal matrix of eigenvalues; the product of the rotations holds the eigenvectors. The cyclic
method converges quadratically once the off-diagonal part is small. It is slower than
tridiagonalisation followed by QL (what lib_jsl_linalg does) but simple, highly accurate, and
the basis of the one-sided Jacobi SVD.
See the book entry Eigenvalue algorithms.
Structs§
- Jacobi
Eigen - Eigenvalues in ascending order, eigenvectors as columns, and the number of sweeps.
Functions§
- jacobi_
eigen - Cyclic Jacobi: sweeps over all pairs
p < quntil the off-diagonal norm is belowtolerance × ‖A‖_F.