X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Fhurwitz.py;h=ccc8219b1a92036c6ac92f118339c160a885977b;hb=d0c6baf5cd567617f96a2a598123052409b33c94;hp=a1a6af06e944e97ea49536b8b9f76e1ecf54cde6;hpb=37ab2f97b6f8b64360045a1db4c74b6c38651317;p=sage.d.git diff --git a/mjo/hurwitz.py b/mjo/hurwitz.py index a1a6af0..ccc8219 100644 --- a/mjo/hurwitz.py +++ b/mjo/hurwitz.py @@ -440,6 +440,31 @@ class OctonionMatrixAlgebra(HurwitzMatrixAlgebra): +---------------------+ | 1.00000000000000*e0 | +---------------------+ + sage: A.gens() + (+---------------------+ + | 1.00000000000000*e0 | + +---------------------+, + +---------------------+ + | 1.00000000000000*e1 | + +---------------------+, + +---------------------+ + | 1.00000000000000*e2 | + +---------------------+, + +---------------------+ + | 1.00000000000000*e3 | + +---------------------+, + +---------------------+ + | 1.00000000000000*e4 | + +---------------------+, + +---------------------+ + | 1.00000000000000*e5 | + +---------------------+, + +---------------------+ + | 1.00000000000000*e6 | + +---------------------+, + +---------------------+ + | 1.00000000000000*e7 | + +---------------------+) :: @@ -519,6 +544,19 @@ class QuaternionMatrixAlgebra(HurwitzMatrixAlgebra): +-----+ | 1.0 | +-----+ + sage: A.gens() + (+-----+ + | 1.0 | + +-----+, + +---+ + | i | + +---+, + +---+ + | j | + +---+, + +---+ + | k | + +---+) :: @@ -598,6 +636,13 @@ class ComplexMatrixAlgebra(HurwitzMatrixAlgebra): +------------------+ | 1.00000000000000 | +------------------+ + sage: A.gens() + (+------------------+ + | 1.00000000000000 | + +------------------+, + +--------------------+ + | 1.00000000000000*I | + +--------------------+) ::