Abstract. Bisection is one of the most common methods used to compute the eigenvalues of symmetric tridiagonal matrices. Bisection relies on the Sturm count: for a given shift σ, the number of negative pivots in the factorization T − σI = LDL T equals the number of eigenvalues of T that are smaller than σ. In IEEE-754 arithmetic, the value ∞ permits the computation to continue past a zero pivot, producing a correct Sturm count when T is unreduced. Demmel and Li showed in the 90s that using ∞ rather than testing for zero pivots within the loop could improve performance significantly on certain architectures.When eigenvalues are to be computed to high relative accuracy, it is often preferable to work with LDL T factorizations instead of the original tridiagonal T . One important example is the MRRR algorithm. When bisection is applied to the factored matrix, the Sturm count is computed from LDL T which makes differential stationary and progressive qds algorithms the methods of choice.While it seems trivial to replace T by LDL T , in reality these algorithms are more complicated: in IEEE-754 arithmetic, a zero pivot produces an overflow followed by an invalid exception (NaN) that renders the Sturm count incorrect.We present alternative, safe formulations that are guaranteed to produce the correct result. Benchmarking these algorithms on a variety of platforms shows that the original formulation without tests is always faster provided no exception occurs. The transforms see speed-ups of up to 2.6× over the careful formulations.Tests on industrial matrices show that encountering exceptions in practice is rare. This leads to the following design: First, compute the Sturm count by the fast but unsafe algorithm. Then, if an exception occurred, recompute the count by a safe, slower alternative.The new Sturm count algorithms improve the speed of bisection by up to 2× on our test matrices. Furthermore, unlike the traditional tiny-pivot substitution, proper use of IEEE-754 features provides a careful formulation that imposes no input range restrictions.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.