C# 클래스 OpenCvSharp.RNG_MT19937

Mersenne Twister random number generator
operations.hpp
파일 보기 프로젝트 열기: shimat/opencvsharp

공개 메소드들

메소드 설명
Next ( ) : uint

updates the state and returns the next 32-bit unsigned integer random number

RNG_MT19937 ( ) : System

RNG_MT19937 ( uint s ) : System

Run ( ) : uint

Run ( uint b ) : uint

returns a random integer sampled uniformly from [0, N).

Seed ( uint s ) : void

Uniform ( double a, double b ) : double

returns uniformly distributed double-precision floating-point random number from [a,b) range

Uniform ( float a, float b ) : float

returns uniformly distributed floating-point random number from [a,b) range

Uniform ( int a, int b ) : int

returns uniformly distributed integer random number from [a,b) range

메소드 상세

Next() 공개 메소드

updates the state and returns the next 32-bit unsigned integer random number
public Next ( ) : uint
리턴 uint

RNG_MT19937() 공개 메소드

public RNG_MT19937 ( ) : System
리턴 System

RNG_MT19937() 공개 메소드

public RNG_MT19937 ( uint s ) : System
s uint
리턴 System

Run() 공개 메소드

public Run ( ) : uint
리턴 uint

Run() 공개 메소드

returns a random integer sampled uniformly from [0, N).
public Run ( uint b ) : uint
b uint
리턴 uint

Seed() 공개 메소드

public Seed ( uint s ) : void
s uint
리턴 void

Uniform() 공개 메소드

returns uniformly distributed double-precision floating-point random number from [a,b) range
public Uniform ( double a, double b ) : double
a double
b double
리턴 double

Uniform() 공개 메소드

returns uniformly distributed floating-point random number from [a,b) range
public Uniform ( float a, float b ) : float
a float
b float
리턴 float

Uniform() 공개 메소드

returns uniformly distributed integer random number from [a,b) range
public Uniform ( int a, int b ) : int
a int
b int
리턴 int