C# Class Accord.Math.Random.GaussianGenerator

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

Méthodes publiques

Méthode Description
GaussianGenerator ( float mean, float stdDev ) : System

Initializes a new instance of the GaussianGenerator class.

GaussianGenerator ( float mean, float stdDev, int seed ) : System

Initializes a new instance of the GaussianGenerator class.

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.

Method Details

GaussianGenerator() public méthode

Initializes a new instance of the GaussianGenerator class.
public GaussianGenerator ( float mean, float stdDev ) : System
mean float Mean value.
stdDev float Standard deviation value.
Résultat System

GaussianGenerator() public méthode

Initializes a new instance of the GaussianGenerator class.
public GaussianGenerator ( float mean, float stdDev, int seed ) : System
mean float Mean value.
stdDev float Standard deviation value.
seed int Seed value to initialize random numbers generator.
Résultat System

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