International Journal of Modern Physics C · 2008 · 209 citations · 8 references
ComputingComputer ScienceAlgorithmsComputational PhysicsScientific ComputingAlgorithm AnalysisLinear AlgebraMatrix ComputationNumerical AlgorithmsNumerical AnalysisNumerical Linear AlgebraComputational Linear AlgebraComputational Matrix TheoryEigenvalue AlgorithmsEigenvalue ComputationHermitian Operators
Numerical diagonalization of symmetric or Hermitian 3 × 3 matrices is a common scientific problem. The authors investigate efficient alternatives to standard black‑box packages when many matrices must be diagonalized. They benchmark optimized Jacobi, QL, and Cuppen algorithms against an analytical Cardano‑based method, introduce a hybrid fallback to QL for ill‑conditioned cases, and provide detailed mathematical overviews and performance results. Jacobi delivers the highest accuracy but is the slowest, QL and Cuppen serve as reliable general‑purpose methods, the analytical approach outperforms them by over twofold yet can fail for matrices with widely varying entries, and the code is released in C and Fortran.
A very common problem in science is the numerical diagonalization of symmetric or hermitian 3 × 3 matrices. Since standard "black box" packages may be too inefficient if the number of matrices is large, we study several alternatives. We consider optimized implementations of the Jacobi, QL, and Cuppen algorithms and compare them with an alytical method relying on Cardano's formula for the eigenvalues and on vector cross products for the eigenvectors. Jacobi is the most accurate, but also the slowest method, while QL and Cuppen are good general purpose algorithms. The analytical algorithm outperforms the others by more than a factor of 2, but becomes inaccurate or may even fail completely if the matrix entries differ greatly in magnitude. This can mostly be circumvented by using a hybrid method, which falls back to QL if conditions are such that the analytical calculation might become too inaccurate. For all algorithms, we give an overview of the underlying mathematical ideas, and present detailed benchmark results. C and Fortran implementations of our code are available for download from .
8
A First Course in Numerical Analysis
Herbert Maisel, Anthony Ralston · Technometrics · 1966 · 2.5K citations
Computational Methods of Linear Algebra
A. S. H., D. K. Faddeev, V. N. Faddeeva · Mathematics of Computation · 1964 · 1.6K citations