SetLength

wVector.setLength(float)
Scale the current wVector to have a given length/magnitude.

Returns None.

Variables:
float: Desired length.

Example:
import WhitePython as wp

#

v1 = wp.wVector(1,2)

v1.setLength(10)

#

print v1