C# Класс Scimark_Csharp_Android.Random

Показать файл Открыть проект

Открытые методы

Метод Описание
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