resized

open fun resized(newLen: Double): S(source)

Return

a resized version of the vector, whose magnitude is equal to newLen. Direction and verse of the original vector are preserved.