From 09e103320c85de7be6846be6980642d37a5ca6a9 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 20 Nov 2020 21:30:51 -0500 Subject: [PATCH] eja: add a comment about sub-subalgebra representations. --- mjo/eja/eja_subalgebra.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mjo/eja/eja_subalgebra.py b/mjo/eja/eja_subalgebra.py index 8f00373..85ada07 100644 --- a/mjo/eja/eja_subalgebra.py +++ b/mjo/eja/eja_subalgebra.py @@ -153,7 +153,11 @@ class FiniteDimensionalEuclideanJordanSubalgebra(FiniteDimensionalEuclideanJorda superalgebra_basis = [ self._superalgebra.from_vector(b) for b in basis_vectors ] + # If our superalgebra is a subalgebra of something else, then + # these vectors won't have the right coordinates for + # V.span_of_basis() unless we use V.from_vector() on them. W = V.span_of_basis( V.from_vector(v) for v in basis_vectors ) + n = len(superalgebra_basis) mult_table = [[W.zero() for i in range(n)] for j in range(n)] for i in range(n): -- 2.44.2