def __invert__(self):
    """
    Returns this Quaternion's conjugate.
    """

    return Quaternion(-self.x, -self.y, -self.z, self.w)
def __invert__ ( self ) : return Quaternion ( - self . x , - self . y , - self . z , self . w )
Returns this Quaternion's conjugate.