C# Class Accord.Math.Random.StandardGenerator

Inheritance: IRandomNumberGenerator
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode 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.

StandardGenerator ( ) : System

Initializes a new instance of the StandardGenerator class.

StandardGenerator ( int seed ) : System

Initializes a new instance of the StandardGenerator class.

Method Details

Next() public méthode

Generate next random number.
public Next ( ) : float
Résultat float

SetSeed() public méthode

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.
Résultat void

StandardGenerator() public méthode

Initializes a new instance of the StandardGenerator class.
public StandardGenerator ( ) : System
Résultat System

StandardGenerator() public méthode

Initializes a new instance of the StandardGenerator class.
public StandardGenerator ( int seed ) : System
seed int Seed value to initialize random numbers generator.
Résultat System