Encog.MathUtil.Matrices.Matrix.Randomize C# (CSharp) Method

Randomize() public method

Randomize the matrix.
public Randomize ( double min, double max ) : void
min double Minimum random value.
max double Maximum random value.
return void
        public void Randomize(double min, double max)
        {
            for (int row = 0; row < Rows; row++)
            {
                for (int col = 0; col < Cols; col++)
                {
                    matrix[row][col] = RangeRandomizer.Randomize(min, max);
                }
            }
        }
    }