From: Michael Orlitzky Date: Wed, 4 Mar 2026 03:26:47 +0000 (-0500) Subject: mjo/clan/jordan_spin_clan.py: add a comment about the inner product X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=087e4f0cfffc6d33cddaad0c62fa3ca026ff5f28;p=sage.d.git mjo/clan/jordan_spin_clan.py: add a comment about the inner product --- diff --git a/mjo/clan/jordan_spin_clan.py b/mjo/clan/jordan_spin_clan.py index 5d836d0..7eabc84 100644 --- a/mjo/clan/jordan_spin_clan.py +++ b/mjo/clan/jordan_spin_clan.py @@ -102,8 +102,15 @@ class JordanSpinClan(NormalDecomposition): return RN.from_vector(V(z_coords)) def ip(x,y): + # The Ishi inner product. That this is NOT the Euclidean + # inner product on coordinates, because (from cp(x,y) + # above) this one is, + # + # x11*y11 + x22*y22 + 2 + # + # (The off-diagonals are weighted more than usual.) p = cp(x,y) / two - return p[(0,0,1)] + p[(1,1,1)] # sum of diagonals + return p[(0,0,1)] + p[(1,1,1)] super().__init__(RN, cp, ip, **kwargs)