Calculates the square of the magnitude of the two-element vector a
a
(This is cheaper than calculating the actual magnitude and is useful e.g. when comparing two vectors)
a 2-element vector object
|a|²
Generated using TypeDoc
Calculates the square of the magnitude of the two-element vector
a
(This is cheaper than calculating the actual magnitude and is useful e.g. when comparing two vectors)