.NET Matrix Library
Normalize Method
See Also  Send Feedback



mode
A NormalizeMode enumeration value indicating how this vector will be normalized.
Normalizes the current vector according to the specified mode.

Syntax

Visual Basic (Declaration) 
Public Sub Normalize( _
   ByVal mode As NormalizeMode _
) 
Visual Basic (Usage)Copy Code
Dim instance As Vector
Dim mode As NormalizeMode
 
instance.Normalize(mode)
C# 
public void Normalize( 
   NormalizeMode mode
)
C++/CLI 
public:
void Normalize( 
   NormalizeMode mode
) 

Parameters

mode
A NormalizeMode enumeration value indicating how this vector will be normalized.

Remarks

The following table lists the values of NormalizeMode enumeration and their effect on vector normalization.

Member Description
MaximumOne Normalizes vector elements so that the biggest element is 1.
UnitLength Normalizes the vector so that it becomes a unit length vector(the sum of squares of vector elements is 1).
ZScores Normalizes vector elements to zscores (values having zero mean and unit standard deviation).

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library