C# Class Accord.Math.Random.UniformOneGenerator

Inheritance: IRandomNumberGenerator
Mostrar archivo Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Next ( ) : float

Generate next random number.

SetSeed ( int seed ) : void

Set seed of the random numbers generator.

Resets random numbers generator initializing it with specified seed value.

UniformOneGenerator ( ) : System

Initializes a new instance of the UniformOneGenerator class.

Initializes random numbers generator with zero seed.

UniformOneGenerator ( int seed ) : System

Initializes a new instance of the UniformOneGenerator class.

Method Details

Next() public method

Generate next random number.
public Next ( ) : float
return float

SetSeed() public method

Set seed of the random numbers generator.
Resets random numbers generator initializing it with specified seed value.
public SetSeed ( int seed ) : void
seed int Seed value.
return void

UniformOneGenerator() public method

Initializes a new instance of the UniformOneGenerator class.
Initializes random numbers generator with zero seed.
public UniformOneGenerator ( ) : System
return System

UniformOneGenerator() public method

Initializes a new instance of the UniformOneGenerator class.
public UniformOneGenerator ( int seed ) : System
seed int Seed value to initialize random numbers generator.
return System