]> gitweb.michael.orlitzky.com - sage.d.git/commit
eja: fix the natural representation in trivial subalgebras.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 10 Aug 2019 00:00:04 +0000 (20:00 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 10 Aug 2019 00:00:04 +0000 (20:00 -0400)
commit723fd0f50c7997768c3d098c707df30197b88afd
treeb6a6af03da3a98706f0f5b741d00d60bd6f07380
parent0fd07263cc543e345f3cd7668938f8a0de70641f
eja: fix the natural representation in trivial subalgebras.

The natural representation relies on knowing a matrix space, and in a
trivial subalgebra there ain't no matrices to have no spaces. To work
around that, the space is now computed/stored separately, in a new
natural_basis_space() method. This is then overridden in the subalgebra
class to do the right thing.
mjo/eja/eja_algebra.py
mjo/eja/eja_element.py
mjo/eja/eja_subalgebra.py