Skip to article frontmatterSkip to article content

At first glance, it might seem silly that this book would spend any time on algorithms for this task. After all, we can compute the trace of a matrix by simply reading and summing its diagonal entries. The challenge arises when A\vec{A} is not available explicitly, but is instead accessibly only as a block-box linear operator which we can access through matrix-vector product queries.

Some settings where A\vec{A} is most naturally accessed implicitly include:

Further Reading

References
  1. Girard, D. (1987). Un algorithme simple et rapide pour la validation croisée généralisée sur des problèmes de grande taille. https://membres-ljk.imag.fr/Didier.Girard/TR-665-M-IMAG.pdf
  2. Hutchinson, M. F. (1989). A Stochastic Estimator of the Trace of the Influence Matrix for Laplacian Smoothing Splines. Communications in Statistics - Simulation and Computation, 18(3), 1059–1076. 10.1080/03610918908812806
  3. Epperly, E. N. (2023). Stochstic trace estimation. https://www.ethanepperly.com/index.php/2023/01/26/stochastic-trace-estimation/
  4. Chen, T. (2024). The Lanczos algorithm for matrix functions: a handbook for scientists. https://arxiv.org/abs/2410.11090