NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
mersenne_twister.f File Reference

Modern random number generator. More...

Go to the source code of this file.

Data Types

interface  mersenne_twister::random_gauss
 
interface  mersenne_twister::random_index
 
interface  mersenne_twister::random_number
 
interface  mersenne_twister::random_setseed
 
type  mersenne_twister::random_stat
 

Modules

module  mersenne_twister
 This module calculates random numbers using the Mersenne twister.
 

Functions/Subroutines

real function, public mersenne_twister::random_gauss_f ()
 Generates Gaussian random numbers in functional mode.
 
integer function, public mersenne_twister::random_index_f (imax)
 Generates random indices in functional mode.
 
real function, public mersenne_twister::random_number_f ()
 Generates random numbers in functional mode.
 
subroutine, public mersenne_twister::random_seed (size, put, get, stat)
 Sets and gets state; overloads Fortran 90 standard.
 

Variables

type(random_stat), save mersenne_twister::sstat
 

Detailed Description

Modern random number generator.

Author
Mark Iredell
Date
2005-06-14

Definition in file mersenne_twister.f.