mirror of
https://github.com/paboyle/Grid.git
synced 2026-06-05 03:34:36 +01:00
c629b2e87e
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>