SND@LHC Software
|
Random numbers. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | gbrshi (n, a) |
F.Gutbrod random number generator. | |
subroutine | gbrtim |
GBRSHI initialization using TIME(). | |
real(mps) function | uran () |
Random number U(0,1) using RANSHI. | |
real(mps) function | gran () |
Gauss random number. | |
Random numbers.
Random number generators for Uniform and Normal distribution:
URAN() for U(0,1) GRAN() for N(0,1)
Definition in file randoms.f90.
subroutine gbrshi | ( | integer(mpi), intent(in) | n, |
real(mps), dimension(*), intent(out) | a | ||
) |
F.Gutbrod random number generator.
Return N random numbers U(0,1) in array A(N). Initialization by entry GBRVIN.
[in] | n | number of requested random number |
[out] | a | array of requested random number |
Definition at line 40 of file randoms.f90.
subroutine gbrtim |
GBRSHI initialization using TIME().
Definition at line 121 of file randoms.f90.
real(mps) function gran |
Gauss random number.
Definition at line 161 of file randoms.f90.
real(mps) function uran |
Random number U(0,1) using RANSHI.
Definition at line 141 of file randoms.f90.