Table of Contents

Method Normalize

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Normalize()

Normalizes the values in this matrix to be between 0 and 1.

public void Normalize()

Remarks

If the matrix is empty, the matrix is filled with 0s.

If all values in the matrix are the same, the matrix is filled with 0s .

Otherwise, the values are normalized between 0 and 1.