- This may require supporting "basis" as a list of basis vectors
- (as opposed to superalgebra elements) in the subalgebra constructor.
-
-8. Implement random_instance() for general algebras as random_eja().
- Copy/paste the "general" construction into the other classes that
- can use it. The general construction can be something like "call
- random_instance() on something that inherits me and return the
- result."
-
-9. Pre-cache the one() method for concrete algebras, and test the general
- method by clearing the cache.
+6. Instead of storing a basis multiplication matrix, just make
+ product_on_basis() a cached method and manually cache its
+ entries. The cython cached method lookup should be faster than a
+ python-based matrix lookup anyway.