| Visual Basic (Declaration) | |
|---|---|
Public Sub Normalize( _ ByVal mode As NormalizeMode _ ) | |
| Visual Basic (Usage) | |
|---|---|
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.
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). |
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7