title: Normalize a vector where the dot product equals 1 in Python?
body: <p>I already know, and understand how I can normalize an array in Python, but I am trying to create a random array.  I want the dot product of the array (when I dot it with itself) to equal a value of one.  I have been looking for a way to do this for over twelve hours now, and can not find a way.  Any help or ideas would be great.  Thank you. </p>