]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/eja/TODO
eja: update the TODO with a bug example.
[sage.d.git] / mjo / eja / TODO
index da3e650bf04da611af5d5d54b4fad635b491da9d..1def3d2e9fd8cf381ae743344ce670a13f226438 100644 (file)
@@ -1,17 +1,20 @@
-1. Add CartesianProductEJA.
+1. Add references and start citing them.
 
-2. Check the axioms in the constructor when check != False?
+2. Profile (and fix?) any remaining slow operations.
 
-3. Add references and start citing them.
+3. Every once in a long while, the test
 
-4. Implement the octonion simple EJA.
+       sage: set_random_seed()
+       sage: x = random_eja().random_element()
+       sage: x.is_invertible() == (x.det() != 0)
 
-5. Factor out the unit-norm basis (and operator symmetry) tests once
-   all of the algebras pass.
+   in eja_element.py returns False. Example:
 
-6. Refactor the current ungodly fast charpoly hack (relies on the
-   theory to ensure that the charpolys are equal.)
-
-7. If we factor out a "matrix algebra" class, then it would make sense
-   to replace the custom embedding/unembedding functions with static
-   _real_embedding() and _real_unembedding() methods.
+       sage: J1 = ComplexHermitianEJA(2)
+       sage: J2 = TrivialEJA()
+       sage: J = cartesian_product([J1,J2])
+       sage: x = J.from_vector(vector(QQ, [-1, -1/2, -1/2, -1/2]))
+       sage: x.is_invertible()
+       True
+       sage: x.det()
+       0