originally posted by Anonymous I've been checking quaternion support in Axiom. And I've found out that it is a bit too restricted. More exactly it seems to be aimed on Hamiltonian quaternions only: fricas q := quatern(0,
Type: Quaternion(Integer)
fricas q^2
Type: Quaternion(Integer)
This is fine over the reals. But only there. On any field with bigger group of square classes (e.g. rationals, algebraic rationals,...) we have far more quaternion algebras. Namely for any two square classes , there exist a quaternion algebra with and . Is there a way to declare such a quaternions in Axiom? Yes, use GeneralQuaternion?: fricas qD := GeneralQuaternion(Fraction(Polynomial(Integer)),
Type: Type
fricas quatern(0,
fricas quatern(0,
fricas quatern(0,
... --Bill Page, Mon, 07 Mar 2005 10:33:49 -0600 reply From the description of quatern on in section9.64 Quaternion, page 734 of the Axiom Book I think that what you want is not possible with this domain. But since the quaternions can be thought of as a Clifford algebra, please refer to section 9.10.2 The Quaternion Numbers as a Clifford Algebra, page 483 of the Book For example fricas K := Fraction Polynomial Integer
Type: Type
fricas m := matrix [ [a,
Type: Matrix(Polynomial(Integer))
fricas H := CliffordAlgebra(2,
Type: Type
fricas i: H := e(1)
fricas j: H := e(2)
fricas k: H := i * j
fricas i^2
fricas j^2
fricas k^2
Status: open => closed
|