]> gitweb.michael.orlitzky.com - sage.d.git/blob - mjo/eja/TODO
eja: add a performance TODO for Cartesian products with trivial factors.
[sage.d.git] / mjo / eja / TODO
1 1. Add references and start citing them.
2
3 2. Profile (and fix?) any remaining slow operations.
4
5 3. Every once in a long while, the test
6
7 sage: set_random_seed()
8 sage: x = random_eja().random_element()
9 sage: x.is_invertible() == (x.det() != 0)
10
11 in eja_element.py returns False. Example:
12
13 sage: J1 = ComplexHermitianEJA(2)
14 sage: J2 = TrivialEJA()
15 sage: J = cartesian_product([J1,J2])
16 sage: x = J.from_vector(vector(QQ, [-1, -1/2, -1/2, -1/2]))
17 sage: x.is_invertible()
18 True
19 sage: x.det()
20 0
21
22 4. When we take a Cartesian product involving a trivial algebra, we
23 could easily cache the identity and charpoly coefficients using
24 the nontrivial factor. On the other hand, it's nice that we can
25 test out some alternate code paths...