Search arXiv⌕ Search

arXiv · 2612.03176

Computing the Algebraic Wasserstein Mean on Upper Triangular Matrices

Abstract

For real upper triangular matrices with positive diagonal, we solve the algebraic equation for the Bures--Wasserstein mean by eliminating one superdiagonal at a time. The diagonal of the mean is explicit. At each subsequent entry the equation is linear in the unknown, with a strictly positive coefficient even when diagonal entries coincide. For nonnegative weights of sum one, the recursion proves existence, uniqueness, and real-analytic dependence on the inputs and weights, and gives an algorithm that computes the mean of $m$ matrices of order $n$ in $O(mn^3)$ operations and $O(mn^2)$ storage. The computed square roots also serve in a linearized solve of the same complexity and in the construction of explicit input perturbations for which a computed mean is exact. We give a local a posteriori bound for the forward error. Two alternatives to elimination, the Picard and projection iterations, converge from every starting matrix in the group. Their derivative spectra depend only on the weights and the input diagonals. The projection iteration has strictly smaller spectral radius and terminates in finitely many steps when the diagonals of the positive-weight inputs are proportional. In contrast, the error associated with a small residual can grow with the off-diagonal entries even when both spectra stay fixed.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Huajun Huang, Sejong Kim. 2026-12-02. Computing the Algebraic Wasserstein Mean on Upper Triangular Matrices. https://searcharxiv.org/abs/2612.03176

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Dual Numbers for Arbitrary Order Automatic Differentiation

We present DNAOAD-FPM, a modern Fortran package for univariate automatic differentiation with arbitrary-order dual numbers. Its complex-valued components store ordinary derivatives through a user-selected order within a compiled capacity. A generic composition routine computes all requested orders using one table of partial Bell polynomials per composition. For $\exp(\sin x)$ at $x=0.5$, DNAOAD-FPM had lower median evaluation times at the tested orders through 8, and ADOL-C's higher-order forward sweep with a reused tape had lower medians at the tested orders from 12 to 24. Two applications illustrate how dual results pass between routines. In the first, a Newton--Raphson solver for Kepler's equation returns the dual eccentric anomaly to a routine that computes orbital position. Checking every active residual component prevents premature termination at a converged scalar root. An eighth-order expansion met a position tolerance of $10^{-12}$ times the semimajor axis at all 256 query points at each of two centers. Including construction, the ratio of direct scalar solution time to expansion time ranged from 1.03 to 3.33 across the two centers and two compilers. In the second application, a geometry routine returns an orthonormal frame attached to the coupler of a spherical four-bar linkage. A single evaluation of this frame through order eight supplies the coupler's angular velocity and its first seven time derivatives. All components through angular snap reproduce published values to their reported precision. At the tested configuration, the four higher-order vectors agree with an independent calculation to within $1.2\times10^{-15}$ in relative Euclidean norm.

math.NA↗

Function approximation in numerically rank-deficient bases

We study least-squares function approximation in a finite basis under finite-precision arithmetic. In a highly non-orthogonal basis, certain directions are only weakly represented and hence very sensitive to rounding errors. Such a basis is called numerically rank-deficient. In the first part, we characterize the influence of rounding in such bases through an explicit, method-agnostic treatment of rounding errors. The numerical error is bounded above by the approximation error plus a penalty proportional to the unit roundoff and the size of the expansion coefficients. Lower bounds of the same form hold in expectation under a stochastic model for the rounding errors and, for a single fixed rounding realization, in terms of two explicit constants. These bounds justify l2-regularized approximation with a parameter of the order of the unit roundoff, which we term finite-precision regularization. This regularization also controls the amplification of algorithmic errors during the computation of the expansion coefficients and relaxes the conditions required for accurate least-squares approximation from sampled data. In the second part, we make this relaxation concrete for randomized sampling, using a regularized variant of the Christoffel function. The resulting sample complexity bounds depend on an effective dimension, which counts the directions that are insensitive to rounding. Moreover, the regularized Christoffel function can be evaluated accurately by stable algorithms for a sufficiently large regularization parameter, unlike the standard one. For univariate Fourier extension frames with n functions, the theory indicates that the sample complexity bound for uniformly random samples grows at least quadratically in n in exact arithmetic, but only (log-)linearly with finite-precision regularization, under an assumed bound on the sup-norms of the singular functions.

math.NA↗

A PINNs approach for the computation of eigenvalues in elliptic problems

In this paper, we propose a method for computing eigenvalues of elliptic problems using Deep Learning techniques. A key feature of our approach is that it is independent of the space dimension and can compute arbitrary eigenvalues without requiring the prior computation of lower ones. Moreover, the method can be easily adapted to handle nonlinear eigenvalue problems.

math.NA↗