9.3.2.1 QuaternionAlgebraElement Objects

class QuaternionAlgebraElement
QuaternionAlgebraElement( H, x)

Create the element x of the quaternion algebra H.

Instances of class QuaternionAlgebraElement have the following methods (in addition to inherited methods and special methods):

characteristic_polynomial,$  $ charpoly,$  $ conjugate,$  $ minimal_polynomial,$  $ minpoly,$  $ reduced_norm,$  $ reduced_trace

Further documentation:

reduced_trace( )

Return the reduced trace of this element.

Note: In a quaternion algebra $ A$ , every element $ x$ is quadratic over the center, thus $ x^2 = \Tr (x)*x - \Nr (x)$ , so we solve for a linear relation $ (1,-\Tr (x),\Nr (x))$ among $ [x^2, x, 1]$ for the reduced trace of $ x$ .

Instances of class QuaternionAlgebraElement also have the following special methods:

__eq__,$  $ __ne__

See About this document... for information on suggesting changes.