mirror of
https://github.com/paboyle/Grid.git
synced 2026-06-04 19:24:36 +01:00
09552cfd73
The function computes |sum|^2 — the squared magnitude of an aggregate sum — not a norm. squaredSum makes clear that squaring is applied to the sum, not to individual site values before summing, distinguishing it from sumOfSquares (the squared L2 norm). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>