]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: simplify two subclass docstrings.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Aug 2019 03:35:55 +0000 (23:35 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 26 Aug 2019 03:35:55 +0000 (23:35 -0400)
mjo/eja/eja_algebra.py

index 79ccc7904830dc739e4af0a532c1bace2a801936..cea1476f1eef34df7db63a231c9b1ff54efe5224 100644 (file)
@@ -1022,24 +1022,16 @@ class RealMatrixEuclideanJordanAlgebra(MatrixEuclideanJordanAlgebra):
     @staticmethod
     def real_embed(M):
         """
     @staticmethod
     def real_embed(M):
         """
-        Embed the matrix ``M`` into a space of real matrices.
-
-        The matrix ``M`` can have entries in any field at the moment:
-        the real numbers, complex numbers, or quaternions. And although
-        they are not a field, we can probably support octonions at some
-        point, too. This function returns a real matrix that "acts like"
-        the original with respect to matrix multiplication; i.e.
-
-          real_embed(M*N) = real_embed(M)*real_embed(N)
-
+        The identity function, for embedding real matrices into real
+        matrices.
         """
         return M
 
         """
         return M
 
-
     @staticmethod
     def real_unembed(M):
         """
     @staticmethod
     def real_unembed(M):
         """
-        The inverse of :meth:`real_embed`.
+        The identity function, for unembedding real matrices from real
+        matrices.
         """
         return M
 
         """
         return M