C# Class Ocronet.Dynamic.DRandomizer

Random number generator. Same as in Lush (http://lush.sourceforge.net/)
Datei anzeigen Open project: nickun/OCRonet

Public Methods

Method Description
dgauss ( ) : double

Now a quick and dirty way to build a quasi-normal random number.

dgauss ( double sigma ) : double
dgauss ( double m, double sigma ) : double
drand ( ) : double
drand ( double vHiLo ) : double
drand ( double vHi, double vLo ) : double
dseed ( int x ) : void
init_drand ( int x ) : void
nrand ( ) : int

Method Details

dgauss() public method

Now a quick and dirty way to build a quasi-normal random number.
public dgauss ( ) : double
return double

dgauss() public method

public dgauss ( double sigma ) : double
sigma double
return double

dgauss() public method

public dgauss ( double m, double sigma ) : double
m double
sigma double
return double

drand() public method

public drand ( ) : double
return double

drand() public method

public drand ( double vHiLo ) : double
vHiLo double
return double

drand() public method

public drand ( double vHi, double vLo ) : double
vHi double
vLo double
return double

dseed() public method

public dseed ( int x ) : void
x int
return void

init_drand() public method

public init_drand ( int x ) : void
x int
return void

nrand() public method

public nrand ( ) : int
return int