]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: move eja_subalgebra to eja_element_subalgebra.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 9 Nov 2019 22:57:42 +0000 (17:57 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 9 Nov 2019 22:57:42 +0000 (17:57 -0500)
The plan is to cut/paste out all the stuff that works for a generic subalgebra.

mjo/eja/eja_element.py
mjo/eja/eja_element_subalgebra.py [moved from mjo/eja/eja_subalgebra.py with 98% similarity]

index 575c2a4754ae261f284c53de4d423011c9bf5418..5b8bc1e98a58ef03234e8a966a75eefd859c461c 100644 (file)
@@ -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
similarity index 98%
rename from mjo/eja/eja_subalgebra.py
rename to mjo/eja/eja_element_subalgebra.py
index c372e50072c73a50281dd45d07eec62a62848277..2a82940f51c47c44aea0efdc47a202c243319ba6 100644 (file)
@@ -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::