]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/eja/euclidean_jordan_algebra.py
eja: rename matrix() to operator_matrix().
[sage.d.git] / mjo / eja / euclidean_jordan_algebra.py
index c0b7787a535b7754c446fcb0046c300b21695579..e2d644a903d8eca09a585064f96e31278197e4d6 100644 (file)
@@ -414,7 +414,7 @@ class FiniteDimensionalEuclideanJordanAlgebra(FiniteDimensionalAlgebra):
             return self.span_of_powers().dimension()
 
 
-        def matrix(self):
+        def operator_matrix(self):
             """
             Return the matrix that represents left- (or right-)
             multiplication by this element in the parent algebra.
@@ -480,13 +480,6 @@ class FiniteDimensionalEuclideanJordanAlgebra(FiniteDimensionalAlgebra):
             fda_elt = FiniteDimensionalAlgebraElement(self.parent(), self)
             return fda_elt.matrix().transpose()
 
-        #
-        # The plan is to eventually phase out "matrix()", which sounds
-        # too much like "matrix_representation()", in favor of the more-
-        # accurate "operator_matrix()". But we need to override matrix()
-        # to keep parent class methods happy in the meantime.
-        #
-        operator_matrix = matrix
 
 
         def minimal_polynomial(self):