]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: add more "# long time" markers.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Feb 2022 23:28:27 +0000 (18:28 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Feb 2022 23:28:56 +0000 (18:28 -0500)
mjo/eja/eja_element.py
mjo/eja/eja_subalgebra.py

index 2c425ca320a5c04e6defee044bd0deb01e76dda4..6997766319798e5188683972c303ce450f0303e3 100644 (file)
@@ -484,10 +484,12 @@ class FiniteDimensionalEJAElement(IndexedFreeModuleElement):
         of an element is the inverse of its left-multiplication operator
         applied to the algebra's identity, when that inverse exists::
 
-            sage: J = random_eja()
-            sage: x = J.random_element()
-            sage: (not x.operator().is_invertible()) or (
-            ....:    x.operator().inverse()(J.one()) == x.inverse() )
+            sage: J = random_eja()                         # long time
+            sage: x = J.random_element()                   # long time
+            sage: (not x.operator().is_invertible()) or (  # long time
+            ....:    x.operator().inverse()(J.one())       # long time
+            ....:    ==                                    # long time
+            ....:    x.inverse() )                         # long time
             True
 
         Check that the fast (cached) and slow algorithms give the same
@@ -976,9 +978,9 @@ class FiniteDimensionalEJAElement(IndexedFreeModuleElement):
 
         The minimal polynomial should always kill its element::
 
-            sage: x = random_eja().random_element()
-            sage: p = x.minimal_polynomial()
-            sage: x.apply_univariate_polynomial(p)
+            sage: x = random_eja().random_element()  # long time
+            sage: p = x.minimal_polynomial()         # long time
+            sage: x.apply_univariate_polynomial(p)   # long time
             0
 
         The minimal polynomial is invariant under a change of basis,
index 1286a167f4c5ede4fa45252a545fd848f3014ab9..ca8efa1fd410b8f5f3f6d177b62779b1a24ccaf5 100644 (file)
@@ -27,10 +27,10 @@ class FiniteDimensionalEJASubalgebraElement(FiniteDimensionalEJAElement):
     works like it does in the superalgebra, even if we orthonormalize
     our basis::
 
-        sage: x = random_eja(field=AA).random_element()
-        sage: A = x.subalgebra_generated_by(orthonormalize=True)
-        sage: y = A.random_element()
-        sage: y.operator()(A.one()) == y
+        sage: x = random_eja(field=AA).random_element()           # long time
+        sage: A = x.subalgebra_generated_by(orthonormalize=True)  # long time
+        sage: y = A.random_element()                              # long time
+        sage: y.operator()(A.one()) == y                          # long time
         True
 
     """