]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/eja/TODO
eja: add yet another TODO.
[sage.d.git] / mjo / eja / TODO
index 51c2a33b542569c431d986a0d165d8774b0d49eb..f248e119acc5c3d0da34fbfaf87999110e0cc406 100644 (file)
@@ -1,21 +1,35 @@
 1. Add CartesianProductEJA.
 
-2. Check the axioms in the constructor when check != False?
+2. Add references and start citing them.
 
-3. Add references and start citing them.
+3. Implement the octonion simple EJA.
 
-4. Implement the octonion simple EJA.
-
-5. Factor out the unit-norm basis (and operator symmetry) tests once
+4. Factor out the unit-norm basis (and operator symmetry) tests once
    all of the algebras pass.
 
-6. Implement spectral projector decomposition for EJA operators
-   using jordan_form() or eigenmatrix_right(). I suppose we can
-   ignore the problem of base rings for now and just let it crash
-   if we're not using AA as our base field.
+5. Override inner_product(), _max_test_case_size(), et cetera in
+   DirectSumEJA.
+
+6. Switch to QQ in *all* algebras for _charpoly_coefficients().
+   This only works when we know that the basis can be rationalized...
+   which is the case at least for the concrete EJAs we provide,
+   but not in general.
+
+7. Pass already_echelonized (default: False) and echelon_basis
+   (default: None) into the subalgebra constructor. The value of
+   already_echelonized can be passed to V.span_of_basis() to save
+   some time, and usinf e.g. FreeModule_submodule_with_basis_field
+   we may somehow be able to pass the echelon basis straight in to
+   save time.
+
+   This may require supporting "basis" as a list of basis vectors
+   (as opposed to superalgebra elements) in the subalgebra constructor.
 
-7. Do we really need to orthonormalize the basis in a subalgebra?
-   So long as we can decompose the operator (which is invariant
-   under changes of basis), who cares?
+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."
 
-8. Check that our field is a subring of RLF.
+9. Pre-cache the one() method for concrete algebras, and test the general
+   method by clearing the cache.