From: Michael Orlitzky Date: Mon, 24 Jun 2019 16:06:12 +0000 (-0400) Subject: eja/euclidean_jordan_algebra.py: test that left-mult matrices are symmetric. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2784c407084c7c38b0f42c3994e673fd8399d85e;p=sage.d.git eja/euclidean_jordan_algebra.py: test that left-mult matrices are symmetric. --- diff --git a/mjo/eja/euclidean_jordan_algebra.py b/mjo/eja/euclidean_jordan_algebra.py index ce6f6e5..0b6b15d 100644 --- a/mjo/eja/euclidean_jordan_algebra.py +++ b/mjo/eja/euclidean_jordan_algebra.py @@ -39,6 +39,15 @@ class FiniteDimensionalEuclideanJordanAlgebra(FiniteDimensionalAlgebra): class Element(FiniteDimensionalAlgebraElement): """ An element of a Euclidean Jordan algebra. + + Since EJAs are commutative, the "right multiplication" matrix is + also the left multiplication matrix and must be symmetric:: + + sage: set_random_seed() + sage: J = eja_ln(5) + sage: J.random_element().matrix().is_symmetric() + True + """ def __pow__(self, n):