]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: drop unused _matrix_ip function.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 23 Aug 2019 17:25:33 +0000 (13:25 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 23 Aug 2019 17:25:33 +0000 (13:25 -0400)
mjo/eja/eja_algebra.py

index 413128c843647e038e8869471daf29d84f1470f2..f687e46215a1f1aefb5a5955acffd4fc4c6be301 100644 (file)
@@ -1296,14 +1296,6 @@ def _unembed_quaternion_matrix(M):
     return matrix(Q, n/4, elements)
 
 
-# The inner product used for the real symmetric simple EJA.
-# We keep it as a separate function because e.g. the complex
-# algebra uses the same inner product, except divided by 2.
-def _matrix_ip(X,Y):
-    X_mat = X.natural_representation()
-    Y_mat = Y.natural_representation()
-    return (X_mat*Y_mat).trace()
-
 
 class RealSymmetricEJA(FiniteDimensionalEuclideanJordanAlgebra):
     """