C# 클래스 Scimark_Csharp_Android.Random

파일 보기 프로젝트 열기: zanew/MonovsDalvik

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
initialize ( int seed ) : void

메소드 상세

Random() 공개 메소드

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

Random() 공개 메소드

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
리턴 System

Random() 공개 메소드

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

Random() 공개 메소드

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
리턴 System

nextDouble() 공개 메소드

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

nextDoubles() 공개 메소드

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