|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....|
|Home MathPack Statis Class TRandGen Properties Random|
|See also: Probability, UniformDistri, NormalDistri, Reference Points of TRandGen, WeibullDistri, Lambda, IndexOfLambda, Resolution, HighBorder, LowBorder, Normalize, nDistriDensity, Class TRandGen, GRandom|
The read-only property Random returns a random number within the range LowBorder... HighBorder using the probability distribution defined by the array property Probability.
The figure below shows the result of 20000 calls to Random with a bimodal distribution defined by 500 reference points. The returned random numbers are indicated by the gray histogram. The blue line shows the underlying probability distribution.