WorksComputer Science
A new angle on matrix-vector complexity
Abstract
The theory of worst-case matrix-vector complexity has been useful for guiding the design of fast linear algebra algorithms. However, there is a large theory-practice gap in the study of one-sided methods, which use matrix-vector products with but not . In practice, for fundamental problems like solving linear systems, one-sided methods like GMRES are often the fastest. By contrast, worst-case analysis often shows pessimistic results, for instance showing that one-sided methods cannot solve a linear system with ideal condition number 1 unless they read the whole matrix . Such worst-case complexity results do not reflect real-world experience. To address this issue, this paper proposes a different theory of worst-case matrix-vector complexity that includes information on the positioning of the eigenvalues of in the complex plane. Specifically, we characterize the "well-behavedness" of a matrix through its spectral condition number and its angular eigenvalue gap , the angle of the largest sector not containing an eigenvalue. Under these parameters, we show that the one-sided complexity of the linear system problem is . These results interpolate between known results for positive definite matrices (), symmetric indefinite matrices (), and general matrices (). This provides a rigorous explanation for the success of one-sided methods in practice, as it shows that one-sided methods beat the "optimal" two-sided algorithm (CGN) when the eigenvalues of lie in less than half of the complex plane (). Our analysis relies on tools from numerical analysis, complex analysis, and information-theoretic complexity, and the results are presented in a modular way to facilitate future use.