Computing functions of $A^{-1}B$ where $A$ and $B$ are Hermitian matrices
Dario A. Bini, Massimiliano Fasi, Bruno Iannazzo
TL;DR
This work addresses the numerical evaluation of $\varphi(A,B)=Af(A^{-1}B)$ for Hermitian $A\succ0$ and Hermitian $B$ by comparing square-root and Cholesky--Schur based algorithms. It provides a conditioning analysis of $\varphi$ via the Fréchet derivative and develops detailed rounding-error analyses for the square-root and Cholesky-based schemes, including cost estimates. Numerical experiments show that the Cholesky--Schur variants offer superior accuracy and efficiency, especially for ill-conditioned $A$, making them the recommended approach for moderate-sized problems. The results connect to pencils and primary matrix functions and point to future work on large sparse problems using Krylov methods or quadrature.
Abstract
We consider the numerical evaluation of the quantity $Af(A^{-1}B)$, where $A$ is Hermitian positive definite, $B$ is Hermitian, and $f$ is a function defined on the spectrum of $A^{-1}B$. We study the conditioning of the problem, and we introduce several algorithms that combine the Schur decomposition with either the matrix square root or the Cholesky factorization. We study the numerical behavior of these algorithms in floating-point arithmetic, assess their computational costs, and compare their numerical performance. Our analysis suggests that the algorithms based on the Cholesky factorization will be more accurate and efficient than those based on the matrix square root. This is confirmed by our numerical experiments.
