DVectorSquared Method

Gets the squared norm of this vector.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
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