From: Michael Orlitzky Date: Fri, 23 Aug 2019 17:25:33 +0000 (-0400) Subject: eja: drop unused _matrix_ip function. X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a167bfc4ffb18296eb75d505112a6c1dd4c7f9ae;p=sage.d.git eja: drop unused _matrix_ip function. --- 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): """