High-Performance Variance-Covariance Matrix Construction Using an Uncentered Gram Formulation
Not on the map. Why?
Abstract (arXiv)
Reichel (2025) defined the bariance as a pairwise-difference measure that can be rewritten in linear time using only scalar sums. We extend this idea to the covariance matrix by showing that the standard matrix expression involving the uncentered Gram matrix and a correction term is algebraically identical to the pairwise-difference definition while avoiding explicit centering. The computation then reduces to one outer product of dimension p-by-p and a single subtraction. Benchmarks in Python show clear runtime gains, especially when BLAS optimizations are absent. Optionally faster Gram-matrix routines such as RXTX (Rybin et al., 2025) further reduce overall cost.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 1 of its 23 references that are in the map. First posted on arXiv 11 Nov 2025.
Builds on
1 of 23 references.
References · 1
Built on by
Not cited yet.