DVectorSquared Method

Gets the squared norm of this vector.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public double Squared()

Return Value

Double
The dot product with itself.

Remarks

It avoids duplicated memory accesses, and it is faster than the normal dot product. It also skips the runtime check for equal lengths.

See Also