Vector<T>.Normalize Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2

Overload List

Normalize() Scales the vector in-place to make its two-norm equal to one.
Normalize(VectorNorm) Scales the vector in-place to make the specified norm equal to one.

Normalize

Scales the vector in-place to make its two-norm equal to one.
C#
public Vector<T> Normalize()

Return Value

Vector<T>
A reference to this Vector<T>.

Normalize(VectorNorm)

Scales the vector in-place to make the specified norm equal to one.
C#
public Vector<T> Normalize(
	VectorNorm norm
)

Parameters

norm  VectorNorm
 

Return Value

Vector<T>
A reference to this Vector<T>.

See Also