(self)
return Vector(self.args + []) / self.magnitude()
Returns a Vector of magnitude 1, codirectional with self.
Returns a Vector of magnitude 1, codirectional with self.
Returns a Vector of magnitude 1 codirectional with self .
def normalize(self):
        """Returns a Vector of magnitude 1, codirectional with self."""
        return Vector(self.args + []) / self.magnitude()
def normalize ( self ) : return Vector ( self . args + [ ] ) / self . magnitude ( )