From 09507901d00a8fe4a35bc6cabcb1fb58b5b08045 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 13:14:21 +0200 Subject: [PATCH] cultmath: BoundedLeastSquares doc states the cost gap is relative to |b|^2 Co-Authored-By: Claude Sonnet 5 --- packages/cultmath/src/CultMath/BoundedLeastSquares.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cultmath/src/CultMath/BoundedLeastSquares.cs b/packages/cultmath/src/CultMath/BoundedLeastSquares.cs index f03fea3b..4cfbad74 100644 --- a/packages/cultmath/src/CultMath/BoundedLeastSquares.cs +++ b/packages/cultmath/src/CultMath/BoundedLeastSquares.cs @@ -40,7 +40,7 @@ public enum BoundedLeastSquaresStatus /// /// /// Near-singular problems. The normal equations square the condition number, so the cost gap grows with cond(A) -/// (measured: below 1e-6 of |b|^2 through cond(A) 3e5, about 2e-5 at 1e6), independent of the absolute scale of A. +/// (measured: below 1e-6 of |b|^2 through cond(A) 3e5, about 2e-5 at 1e6; the gap is relative to |b|^2), independent of the absolute scale of A. /// The solver owns optimality up to that range. Columns whose pivot falls below 1e-12 of their own diagonal (cond(A) /// beyond roughly 1e6) are treated as dependent and not moved, so the answer there is one optimum among many, not the /// minimum-norm one. Callers beyond that range, or that need the minimum-norm answer, add a small ridge row to