Q, x) |
Create the element x of the quaternion algebra Q.
This function should be called only by Q. To create a Quaternion rom x yourself, create Q and then write Q(x).
characteristic_polynomial,
charpoly,
conjugate,
coordinates,
minimal_polynomial,
minpoly,
norm,
trace,
vector
Further documentation:
) |
Returns a reference to the vector that defines this quaternion.
Instances of class Quaternion also have the following special functions:
__add__,
__cmp__,
__div__,
__invert__,
__mul__,
__neg__,
__pow__,
__sub__
See About this document... for information on suggesting changes.