Millepede-II  V04-00-00_preview
 All Classes Files Functions Variables Enumerator Pages
Functions/Subroutines
randoms.f90 File Reference

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 function uran ()
 Random number U(0,1) using RANSHI.
REAL function gran ()
 Gauss random number.

Detailed Description

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.


Function/Subroutine Documentation

subroutine gbrshi ( integer, intent(in)  n,
real, dimension(*), intent(out)  a 
)

F.Gutbrod random number generator.

Return N random numbers U(0,1) in array A(N). Initialization by entry GBRVIN.

Parameters:
[in]nnumber of requested random number
[out]aarray of requested random number

Definition at line 21 of file randoms.f90.

Referenced by gran(), and uran().

subroutine gbrtim ( )

GBRSHI initialization using TIME().

Definition at line 100 of file randoms.f90.

REAL function gran ( )

Gauss random number.

Returns:
random number N(0,1)

Definition at line 136 of file randoms.f90.

References gbrshi().

Referenced by genlin(), genln2(), mptest(), and mptst2().

REAL function uran ( )

Random number U(0,1) using RANSHI.

Returns:
random number U(0,1)

Definition at line 118 of file randoms.f90.

References gbrshi().

Referenced by genlin(), genln2(), and mptst2().