C# Class RandomOps.RanUInt32Array

Pseudo-Random Number Generator (PRNG) base-class for a generator of UInt32 integers that uses an array.
Inheritance: RanUInt32
Mostrar archivo Open project: DanWBR/dwsim3

Public Methods

Method Description
RanUInt32Array ( ) : System

Constructs the PRNG-object.

RanUInt32Array ( Random rand ) : System

Constructs the PRNG-object using another PRNG-object for seeding.

RanUInt32Array ( UInt32 seed ) : System

Constructs the PRNG-object using the designated seed. This is useful if you want to repeat experiments with the same sequence of pseudo-random numbers.

Seed ( Random rand ) : void

Seed with random bytes from another RNG.

Seed ( UInt32 seed ) : void

Seed with an array.

Protected Methods

Method Description
Seed ( ) : void

Seed with an integer.

Method Details

RanUInt32Array() public method

Constructs the PRNG-object.
public RanUInt32Array ( ) : System
return System

RanUInt32Array() public method

Constructs the PRNG-object using another PRNG-object for seeding.
public RanUInt32Array ( Random rand ) : System
rand Random
return System

RanUInt32Array() public method

Constructs the PRNG-object using the designated seed. This is useful if you want to repeat experiments with the same sequence of pseudo-random numbers.
public RanUInt32Array ( UInt32 seed ) : System
seed System.UInt32
return System

Seed() protected final method

Seed with an integer.
protected final Seed ( ) : void
return void

Seed() public method

Seed with random bytes from another RNG.
public Seed ( Random rand ) : void
rand Random
return void

Seed() public abstract method

Seed with an array.
public abstract Seed ( UInt32 seed ) : void
seed System.UInt32
return void