From: Michael Orlitzky Date: Wed, 3 Mar 2021 15:31:25 +0000 (-0500) Subject: octonions: use Hurwitz subclass for the matrix algebra. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=7f8c5e957f3449ad73be895a5f88e889168732f9;p=sage.d.git octonions: use Hurwitz subclass for the matrix algebra. --- diff --git a/mjo/octonions.py b/mjo/octonions.py index 289c46a..fb4b833 100644 --- a/mjo/octonions.py +++ b/mjo/octonions.py @@ -7,7 +7,7 @@ from sage.rings.all import AA, ZZ from sage.matrix.matrix_space import MatrixSpace from sage.misc.table import table -from mjo.matrix_algebra import MatrixAlgebra +from mjo.matrix_algebra import HurwitzMatrixAlgebra class Octonion(IndexedFreeModuleElement): def conjugate(self): @@ -347,7 +347,7 @@ class Octonions(CombinatorialFreeModule): -class OctonionMatrixAlgebra(MatrixAlgebra): +class OctonionMatrixAlgebra(HurwitzMatrixAlgebra): r""" The algebra of ``n``-by-``n`` matrices with octonion entries over (a subfield of) the real numbers.