next up previous contents
Next: 4.7.14 REAL FUNCTION ZURECT Up: 4.7 Patch GENUTL : Previous: 4.7.12 SUBROUTINE ZUSOR(S1, S2,   Contents


4.7.13 REAL FUNCTION ZUGAUS (MEAN, SD) : generate GAUSsian random number

ARGUMENTS:
INPUT :
    MEAN : expectation value of the gaussian.
    SD   : standard deviation of the gaussian.
IMPLICIT INPUTS:
    none
IMPLICIT OUTPUTS:
    none
FUNCTION VALUE:
A number polled from the distribution N(MEAN,SD).

CALLED BY :
any routine.

CALLED ROUTINE(S):
RNORML
(CERNLIB gaussian random generator.)

SIDE EFFECTS:
none

AUTHORS:
M. Berggren,UFRJ

CREATION DATE:
12-APR-1995



Mikael Berggren 2003-03-27