C# Class Scimark_Csharp_Android.Random

Datei anzeigen Open project: zanew/MonovsDalvik

Public Methods

Method Description
Random ( ) : System

Initializes a sequence of uniformly distributed quasi random numbers with a seed based on the system clock.

Random ( double left, double right ) : System

Initializes a sequence of uniformly distributed quasi random numbers on a given half-open interval [left,right) with a seed based on the system clock.

Random ( int seed ) : System

Initializes a sequence of uniformly distributed quasi random numbers with a given seed.

Random ( int seed, double left, double right ) : System

Initializes a sequence of uniformly distributed quasi random numbers with a given seed on a given half-open interval [left,right).

nextDouble ( ) : double

Returns the next random number in the sequence.

nextDoubles ( double x ) : void

Returns the next N random numbers in the sequence, as a vector.

Private Methods

Method Description
initialize ( int seed ) : void

Method Details

Random() public method

Initializes a sequence of uniformly distributed quasi random numbers with a seed based on the system clock.
public Random ( ) : System
return System

Random() public method

Initializes a sequence of uniformly distributed quasi random numbers on a given half-open interval [left,right) with a seed based on the system clock.
public Random ( double left, double right ) : System
left double
right double
return System

Random() public method

Initializes a sequence of uniformly distributed quasi random numbers with a given seed.
public Random ( int seed ) : System
seed int
return System

Random() public method

Initializes a sequence of uniformly distributed quasi random numbers with a given seed on a given half-open interval [left,right).
public Random ( int seed, double left, double right ) : System
seed int
left double
right double
return System

nextDouble() public method

Returns the next random number in the sequence.
public nextDouble ( ) : double
return double

nextDoubles() public method

Returns the next N random numbers in the sequence, as a vector.
public nextDoubles ( double x ) : void
x double
return void