lengthSq

Returns squared length of the given vector.

T
lengthSq
(
T
uint U
)
(
const Vector!(T, U) v
)

Parameters

v Vector!(T, U)

target vector

Return Value

Type: T

squared length of the given vector

Meta