C# Class NSoft.NFramework.Numerics.LogNormalRandomizer

Log Normal 분포
Inheritance: RandomizerBase
Exibir arquivo Open project: debop/NFramework

Public Methods

Method Description
LogNormalRandomizer ( ) : System

생성자

LogNormalRandomizer ( Func rndFunc ) : System

생성자

LogNormalRandomizer ( double mean, double variance ) : System

생성자

LogNormalRandomizer ( double mean, double variance, Func rndFunc = null ) : System

생성자

Next ( ) : double

난수 발생

Reset ( int seed ) : bool

난수 발생 함수를 초기화 한다.

Private Methods

Method Description
Recalculate ( ) : void

평균, 분산을 재계산한다.

SetParameters ( double mean, double variance ) : void

Method Details

LogNormalRandomizer() public method

생성자
public LogNormalRandomizer ( ) : System
return System

LogNormalRandomizer() public method

생성자
public LogNormalRandomizer ( Func rndFunc ) : System
rndFunc Func 사용자 정의 난수 발생 함수
return System

LogNormalRandomizer() public method

생성자
public LogNormalRandomizer ( double mean, double variance ) : System
mean double 평균
variance double 분산
return System

LogNormalRandomizer() public method

생성자
public LogNormalRandomizer ( double mean, double variance, Func rndFunc = null ) : System
mean double 평균
variance double 분산
rndFunc Func 사용자 정의 난수 발생 함수
return System

Next() public method

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

Reset() public method

난수 발생 함수를 초기화 한다.
public Reset ( int seed ) : bool
seed int
return bool