]> gitweb.michael.orlitzky.com - sage.d.git/commit
eja/euclidean_jordan_algebra.py: rewrite the classcall/init process.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Jun 2019 02:52:09 +0000 (22:52 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Jun 2019 02:52:09 +0000 (22:52 -0400)
commit69dde0cab851cd1839ad11db6b5d807a5ab936a2
tree38e066a6becf881d7c9cfce91218959e228828e3
parent00a9e89cf61f53131f4127253f68fb3cacfab128
eja/euclidean_jordan_algebra.py: rewrite the classcall/init process.

I'm not sure what I just did, but by copying the __classcall_private__
method from FiniteDimensionalAlgebra, I was able to make it take an
extra (optional) "rank" parameter while creating EJAs. This lets us
hard-code the rank for known EJAs, and put off figuring how we might
compute it otherwise.
mjo/eja/euclidean_jordan_algebra.py