Routine ID: V136 | |
---|---|
Author(s): D. Drijard, K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 15.10.1994 |
Language: Fortran | Revised: |
Subroutine subprogram POISSN generates a random integer N>0 according to the Poisson distribution
where (the mean) is a constant specified by the user.
Structure:
SUBROUTINE subprogram
User Entry Names: RNPSSN, RNPSET
External References: RANLUX (V115), RNORMX (V120)
Usage:
CALL RNPSSN(AMU,N,IERR)
CALL RNPSET(AMAX)
Timing:
Time increases with
roughly as
.