From d6d7353ccdcd1ab58c5f0e4621cb114e4a8c65ed Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 9 Nov 2019 17:57:42 -0500 Subject: [PATCH] eja: move eja_subalgebra to eja_element_subalgebra. The plan is to cut/paste out all the stuff that works for a generic subalgebra. --- mjo/eja/eja_element.py | 2 +- mjo/eja/{eja_subalgebra.py => eja_element_subalgebra.py} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename mjo/eja/{eja_subalgebra.py => eja_element_subalgebra.py} (98%) diff --git a/mjo/eja/eja_element.py b/mjo/eja/eja_element.py index 575c2a4..5b8bc1e 100644 --- a/mjo/eja/eja_element.py +++ b/mjo/eja/eja_element.py @@ -9,7 +9,7 @@ from sage.modules.with_basis.indexed_element import IndexedFreeModuleElement # TODO: make this unnecessary somehow. from sage.misc.lazy_import import lazy_import lazy_import('mjo.eja.eja_algebra', 'FiniteDimensionalEuclideanJordanAlgebra') -lazy_import('mjo.eja.eja_subalgebra', +lazy_import('mjo.eja.eja_element_subalgebra', 'FiniteDimensionalEuclideanJordanElementSubalgebra') from mjo.eja.eja_operator import FiniteDimensionalEuclideanJordanAlgebraOperator from mjo.eja.eja_utils import _mat2vec diff --git a/mjo/eja/eja_subalgebra.py b/mjo/eja/eja_element_subalgebra.py similarity index 98% rename from mjo/eja/eja_subalgebra.py rename to mjo/eja/eja_element_subalgebra.py index c372e50..2a82940 100644 --- a/mjo/eja/eja_subalgebra.py +++ b/mjo/eja/eja_element_subalgebra.py @@ -235,7 +235,7 @@ class FiniteDimensionalEuclideanJordanElementSubalgebra(FiniteDimensionalEuclide SETUP:: sage: from mjo.eja.eja_algebra import RealSymmetricEJA - sage: from mjo.eja.eja_subalgebra import FiniteDimensionalEuclideanJordanElementSubalgebra + sage: from mjo.eja.eja_element_subalgebra import FiniteDimensionalEuclideanJordanElementSubalgebra EXAMPLES:: @@ -363,7 +363,7 @@ class FiniteDimensionalEuclideanJordanElementSubalgebra(FiniteDimensionalEuclide SETUP:: sage: from mjo.eja.eja_algebra import RealSymmetricEJA - sage: from mjo.eja.eja_subalgebra import FiniteDimensionalEuclideanJordanElementSubalgebra + sage: from mjo.eja.eja_element_subalgebra import FiniteDimensionalEuclideanJordanElementSubalgebra EXAMPLES:: -- 2.44.2