def neg(self):
        """Negative value of all components."""
        self.x = -self.x
        self.y = -self.y
        self.z = -self.z
def neg ( self ) : self . x = - self . x self . y = - self . y self . z = - self . z
Negative value of all components.