C# Class QuickCheck.Random.MwcRandom

A simple random number generator based on George Marsaglia's MWC (multiply with carry) generator.
Originally written by John D. Cook http://www.codeproject.com/Articles/25172/Simple-Random-Number-Generation http://www.johndcook.com
Inheritance: IRandom
Show file Open project: jystic/quickcheck-net

Public Methods

Method Description
MwcRandom ( ) : System
MwcRandom ( uint seed1, uint seed2 ) : System
MwcRandom ( ulong seed ) : System
UInt32 ( ) : uint

Method Details

MwcRandom() public method

public MwcRandom ( ) : System
return System

MwcRandom() public method

public MwcRandom ( uint seed1, uint seed2 ) : System
seed1 uint
seed2 uint
return System

MwcRandom() public method

public MwcRandom ( ulong seed ) : System
seed ulong
return System

UInt32() public method

public UInt32 ( ) : uint
return uint