The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TMatrix, TMat3D
Declaration: [1] procedure FillRandomGauss (Mean, StdDev: double); { classes TMatrix and TMat3D }
[2] procedure FillRandomGauss (LowCol, HighCol, LowRow, HighRow: integer; Mean, StdDev: double); { class TMatrix only }

The method FillRandomGauss sets all elements of the matrix (version [1]) to normally distributed random values with a mean of Mean and a standard deviation of StdDev. Version [2] is only available for TMatrix and allows filling a particular rectangular region of the matrix by specifying the lower and upper columns and rows of the area to be filled (parameters LowCol, HighCol, LowRow and HighRow).

Hint: Setting both the low and high parameter of a dimension (i.e. LowCol and HighCol) to zero values forces the method to use all elements of that dimension.

Last Update: 2020-Aug-12