From a167bfc4ffb18296eb75d505112a6c1dd4c7f9ae Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 23 Aug 2019 13:25:33 -0400 Subject: [PATCH] eja: drop unused _matrix_ip function. --- mjo/eja/eja_algebra.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index 413128c..f687e46 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -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): """ -- 2.44.2