From: Michael Orlitzky Date: Sat, 21 Nov 2020 16:37:50 +0000 (-0500) Subject: eja: expand an existing subalgebra test. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b875c6fdc66a9723bc949a85c5374ef3c94bf7a2;p=sage.d.git eja: expand an existing subalgebra test. --- diff --git a/mjo/eja/eja_subalgebra.py b/mjo/eja/eja_subalgebra.py index 2ceba43..292c770 100644 --- a/mjo/eja/eja_subalgebra.py +++ b/mjo/eja/eja_subalgebra.py @@ -78,6 +78,9 @@ class FiniteDimensionalEuclideanJordanSubalgebraElement(FiniteDimensionalEuclide sage: y = A.random_element() sage: A(y.superalgebra_element()) == y True + sage: B = y.subalgebra_generated_by() + sage: B(y).superalgebra_element() == y + True """ W = self.parent().vector_space()