If the random numbers are required to obey a certain distribution function, the transformation method [46] can be applied. By transforming uniformly distributed random numbers, random variables with any probability distribution, given that the indefinite integral is known and invertible, can be generated.
Suppose, we generate uniform deviates ,
, ... and take some functions
,
, ... of it. The joint probability distribution of the
's is given by the fundamental law of probability
The Box-Müller method uses this technique to generate random deviates with normal (Gaussian) distribution,
![]() |
![]() |
![]() |
(7.12) |
![]() |
![]() |
![]() |
(7.13) |
![]() |
![]() |
![]() |
(7.14) |
![]() |
![]() |
![]() |
(7.15) |
The implementation of these algorithms in the http://beta.ulib.org/webRoot/Books/Numerical_Recipes/Numerical Recipes [46] and the http://www.nag.co.uk/NAG library [47] have been used for the implementation of the stochastic thermal field.