C# Class NSoft.NFramework.Numerics.Distributions.Continuous.Erlang

Erlang 연속 분포 This class implements functionality for the Erlang distribution.
This distribution is a continuous probability distribution with wide applicability primarily due to its relation to the exponential and Gamma distributions. Wikipedia - Erlang distribution.

The distribution will use the System.Random by default. Users can set the random number generator by using the RandomSource property.

The statistics classes will check all the incoming parameters whether they are in the allowed range. This might involve heavy computation. Optionally, by setting Control.CheckDistributionParameters to false, all parameter checks can be turned off.

Inheritance: IContinuousDistribution
Afficher le fichier Open project: debop/NFramework

Méthodes publiques

Méthode Description
CumulativeDistribution ( double x ) : double

확률 분포 계산을 위한 누적분포함수

Density ( double x ) : double

분포의 확률 밀도

DensityLn ( double x ) : double

분포의 로그 확률 밀도

Erlang ( int shape, double invScale, Func randomFactory = null ) : System
Sample ( ) : double

분포의 무작위 값을 제공합니다.

Sample ( Random rnd, double shape, double invScale ) : double
Samples ( ) : IEnumerable

현 분포의 무작위 값을 열거합니다.

Samples ( Random rnd, double shape, double invScale ) : IEnumerable
ToString ( ) : string
WithShapeInvScale ( int shape, double invScale ) : Erlang
WithShapeScale ( int shape, double scale ) : Erlang

Private Methods

Méthode Description
AssertParameters ( double shape, double invScale ) : void
DoSample ( Random rnd, double shape, double invScale ) : double
SetParameters ( double shape, double invScale ) : void

Method Details

CumulativeDistribution() public méthode

확률 분포 계산을 위한 누적분포함수
public CumulativeDistribution ( double x ) : double
x double The location at which to compute the cumulative distribution function.
Résultat double

Density() public méthode

분포의 확률 밀도
public Density ( double x ) : double
x double
Résultat double

DensityLn() public méthode

분포의 로그 확률 밀도
public DensityLn ( double x ) : double
x double
Résultat double

Erlang() public méthode

public Erlang ( int shape, double invScale, Func randomFactory = null ) : System
shape int
invScale double
randomFactory Func
Résultat System

Sample() public méthode

분포의 무작위 값을 제공합니다.
public Sample ( ) : double
Résultat double

Sample() public static méthode

public static Sample ( Random rnd, double shape, double invScale ) : double
rnd System.Random
shape double
invScale double
Résultat double

Samples() public méthode

현 분포의 무작위 값을 열거합니다.
public Samples ( ) : IEnumerable
Résultat IEnumerable

Samples() public static méthode

public static Samples ( Random rnd, double shape, double invScale ) : IEnumerable
rnd System.Random
shape double
invScale double
Résultat IEnumerable

ToString() public méthode

public ToString ( ) : string
Résultat string

WithShapeInvScale() public static méthode

public static WithShapeInvScale ( int shape, double invScale ) : Erlang
shape int
invScale double
Résultat Erlang

WithShapeScale() public static méthode

public static WithShapeScale ( int shape, double scale ) : Erlang
shape int
scale double
Résultat Erlang