C# Class NSoft.NFramework.Numerics.TriangularRandomizer

삼각 분포의 난수발생기
Inheritance: RandomizerBase
Datei anzeigen Open project: debop/NFramework

Public Methods

Method Description
GetIntervalLength ( ) : double

상하한 구간

Next ( ) : double

난수 발생

SetParameters ( double lower, double upper, double m ) : void

상하한 구간 설정

TriangularRandomizer ( ) : System

생성자

TriangularRandomizer ( Func randomNumberFunc = null ) : System

생성자

TriangularRandomizer ( Interval interval, double m ) : System

생성자

TriangularRandomizer ( double lower, double upper, double m ) : System

생성자

TriangularRandomizer ( double lower, double upper, double m, Func randomNumberFunc = null ) : System

생성자

Method Details

GetIntervalLength() public method

상하한 구간
public GetIntervalLength ( ) : double
return double

Next() public method

난수 발생
public Next ( ) : double
return double

SetParameters() public method

상하한 구간 설정
public SetParameters ( double lower, double upper, double m ) : void
lower double
upper double
m double
return void

TriangularRandomizer() public method

생성자
public TriangularRandomizer ( ) : System
return System

TriangularRandomizer() public method

생성자
public TriangularRandomizer ( Func randomNumberFunc = null ) : System
randomNumberFunc Func 사용자 정의 난수 발생 함수
return System

TriangularRandomizer() public method

생성자
public TriangularRandomizer ( Interval interval, double m ) : System
interval Interval 상하한 구간
m double 중심 (삼각형의 꼭지점)
return System

TriangularRandomizer() public method

생성자
public TriangularRandomizer ( double lower, double upper, double m ) : System
lower double 하한
upper double 상한
m double 중심 (삼각형의 꼭지점)
return System

TriangularRandomizer() public method

생성자
public TriangularRandomizer ( double lower, double upper, double m, Func randomNumberFunc = null ) : System
lower double 하한
upper double 상한
m double 중심 (삼각형의 꼭지점)
randomNumberFunc Func 사용자 정의 난수 발생 함수
return System