- sage: OctonionMatrixAlgebra(3,QQ)
- Module of 3 by 3 matrices with entries in Octonion algebra with base
- ring Rational Field over the scalar ring Rational Field
+
+ ::
+
+ sage: OctonionMatrixAlgebra(3,scalars=QQ)
+ Module of 3 by 3 matrices with entries in Octonion algebra with
+ base ring Rational Field over the scalar ring Rational Field
+
+ ::
+
+ sage: O = Octonions(RR)
+ sage: A = OctonionMatrixAlgebra(1,O)
+ sage: A
+ Module of 1 by 1 matrices with entries in Octonion algebra with
+ base ring Real Field with 53 bits of precision over the scalar
+ ring Algebraic Real Field
+ sage: A.one()
+ +---------------------+
+ | 1.00000000000000*e0 |
+ +---------------------+