Gaussian random numbers generator.

Namespace:  AForge.Math.Random
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public class GaussianGenerator : IRandomNumberGenerator

Remarks

The random number generator generates gaussian random numbers with specified mean and standard deviation values.

The generator uses StandardGenerator generator as base to generate random numbers.

Sample usage:

CopyC#
// create instance of random generator
IRandomNumberGenerator generator = new GaussianGenerator( 5.0, 1.5 );
// generate random number
float randomNumber = generator.Next( );

Inheritance Hierarchy

System..::.Object
  AForge.Math.Random..::.GaussianGenerator

See Also