Home MathPack Statis Class TRandGen Methods NormalDistri |
|
See also: Probability, UniformDistri, WeibullDistri, nDistriDensity, Reference Points of TRandGen, Random, Normalize, tDistri, FDistri, GRandom |
|
NormalDistri |
|
Unit: | SDL_statis | Class: | TRandGen | Declaration: | procedure NormalDistri (m, s:
double); |
The method NormalDistri sets the reference points of the random generator in a way so that the delivered random numbers are normally distributed with a mean of m and a standard deviation of s
Hint 1: |
The properties LowBorder and HighBorder cut the
distribution (any values of the probability function outside of those
limits are zero). Thus, be careful to set these properties in a way that
the normal distribution does not interfere with
them. |
Hint 2: |
Changing the borders of the random generator also shifts the mean and the standard deviation of the normal distribution. Therefore LowBorder and HighBorder should be set before applying NormalDistri. |
|