-5. Factor out the unit-norm basis (and operator symmetry) tests once
- all of the algebras pass.
-
-6. Can we make the minimal and characteristic polynomial tests work
- for trivial algebras, too? Then we wouldn't need the "nontrivial"
- argument to random_eja().
+ 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