Answers are grounded in this paper and cite their sources.
The Householder reflections used in LAPACK's $QR$ factorization leave positive and negative real entries along R's diagonal. This is sufficient for most applications of $QR$ factorizations, but a few require that R have a nonnegative diagonal. This note describes a new Householder generation routine to produce a nonnegative diagonal. Additionally, we find that scanning for trailing zeros in the generated reflections leads to large performance improvements when applying reflections with many trailing zeros. Factoring low-profile matrices, those with nonzero entries mostly near the diagonal (e.g., band matrices), now require far fewer operations. For example, $QR$ factorization of matrices with profile width b that are stored densely in an n× n matrix improves from O(n³) to O(n²+nb²). These routines are in LAPACK 3.2.
No takes yet. Share an insight, caveat, or question.
Demmel et al. (2009) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: