resized

open fun resized(newLen: Double): S

Return

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