Method Summary |
|
__init__ (self,
Q,
x)
Create the element x of the quaternion algebra Q. |
|
__add__(self,
other)
|
|
__cmp__(self,
other)
|
|
__div__(self,
other)
|
|
__invert__(self)
|
|
__mul__(self,
other)
|
|
__neg__(self)
|
|
__pow__(self,
n)
|
|
__repr__(self)
|
|
__sub__(self,
other)
|
|
characteristic_polynomial(self)
|
|
charpoly(self)
|
|
conjugate(self)
|
|
coordinates(self)
|
|
minimal_polynomial(self)
|
|
minpoly(self)
|
|
norm(self)
|
|
trace(self)
|
|
vector (self)
Returns a reference to the vector that defines this quaternion. |
Inherited from object |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__reduce_ex__ (...)
helper for pickle |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |
|
__str__ (x)
x.__str__() <==> str(x) |