From: Michael Orlitzky Date: Mon, 30 Nov 2020 15:17:19 +0000 (-0500) Subject: eja: drop the "Ng" from the new constructor. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=dfdd66902d789e47702cfd4c263bbe59dffb168c;p=sage.d.git eja: drop the "Ng" from the new constructor. --- diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index b83f4a5..effafd4 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -1120,7 +1120,7 @@ class FiniteDimensionalEuclideanJordanAlgebra(CombinatorialFreeModule): Element = FiniteDimensionalEuclideanJordanAlgebraElement -class RationalBasisEuclideanJordanAlgebraNg(FiniteDimensionalEuclideanJordanAlgebra): +class RationalBasisEuclideanJordanAlgebra(FiniteDimensionalEuclideanJordanAlgebra): r""" New class for algebras whose supplied basis elements have all rational entries. @@ -1323,7 +1323,7 @@ class RationalBasisEuclideanJordanAlgebraNg(FiniteDimensionalEuclideanJordanAlge if self.base_ring() is QQ: # There's no need to construct *another* algebra over the # rationals if this one is already over the rationals. - superclass = super(RationalBasisEuclideanJordanAlgebraNg, self) + superclass = super(RationalBasisEuclideanJordanAlgebra, self) return superclass._charpoly_coefficients() # Do the computation over the rationals. The answer will be @@ -2284,7 +2284,7 @@ class QuaternionHermitianEJA(QuaternionMatrixEuclideanJordanAlgebra, return cls(n, field, **kwargs) -class HadamardEJA(RationalBasisEuclideanJordanAlgebraNg, +class HadamardEJA(RationalBasisEuclideanJordanAlgebra, ConcreteEuclideanJordanAlgebra): """ Return the Euclidean Jordan Algebra corresponding to the set @@ -2362,7 +2362,7 @@ class HadamardEJA(RationalBasisEuclideanJordanAlgebraNg, return cls(n, field, **kwargs) -class BilinearFormEJA(RationalBasisEuclideanJordanAlgebraNg, +class BilinearFormEJA(RationalBasisEuclideanJordanAlgebra, ConcreteEuclideanJordanAlgebra): r""" The rank-2 simple EJA consisting of real vectors ``x=(x0, x_bar)``