magnitudeSquared

open override val magnitudeSquared: Double

Computes the squared magnitude of this vector. This is equivalent to squaring the result of magnitude but is potentially much more efficient.