title: How to get the unit vector from a numpy array
body: <p>Lets say I have a vector v, and I want the unit vector, i.e. v has length 1.0
  Is there a direct way to get that from numpy?</p>
  
  <p>I want something like:</p>
  
  <pre><code>import numpy as np
  v=np.arrange(3)
  v_hat = v.norm()
  </code></pre>
  
  <p>Rather than,</p>
  
  <pre><code>length = np.linalg.norm(v)
  v_hat = v / length
  </code></pre>