Méthode | Description | |
---|---|---|
CumulativeDistribution ( double x ) : double |
확률 분포 계산을 위한 누적분포함수
|
|
Density ( double x ) : double |
분포의 확률 밀도
|
|
Density ( double shape, double invScale, double x ) : double |
감마분포의 확률밀도를 계산합니다.
|
|
DensityLn ( double x ) : double |
분포의 로그 확률 밀도
|
|
DensityLn ( double shape, double invScale, double x ) : double |
감마분포의 로그 확률밀도를 계산합니다.
|
|
Gamma ( double shape, double invScale, Func |
||
Sample ( ) : double |
분포의 무작위 값을 제공합니다.
|
|
Sample ( |
감마 분포의 샘플 데이타를 생성합니다.
|
|
Samples ( ) : IEnumerable |
현 분포의 무작위 값을 열거합니다.
|
|
Samples ( |
감마 분포의 샘플 데이타를 생성합니다.
|
|
ToString ( ) : string | ||
WithShapeInvScale ( double shape, double invScale ) : |
Constructs a Gamma distribution from a shape and inverse scale parameter. The distribution will be initialized with the default System.Random random number generator.
|
|
WithShapeScale ( double shape, double scale ) : |
Constructs a Gamma distribution from a shape and scale parameter. The distribution will be initialized with the default System.Random random number generator.
|
Méthode | Description | |
---|---|---|
AssertParameters ( double shape, double invScale ) : void | ||
SampleGamma ( |
Sampling implementation based on: "A Simple Method for Generating Gamma Variables" - Marsaglia & Tsang ACM Transactions on Mathematical Software, Vol. 26, No. 3, September 2000, Pages 363?72. This method performs no parameter checks.
|
|
SetParameters ( double shape, double invScale ) : void |
public CumulativeDistribution ( double x ) : double | ||
x | double | The location at which to compute the cumulative distribution function. |
Résultat | double |
public static Density ( double shape, double invScale, double x ) : double | ||
shape | double | |
invScale | double | |
x | double | |
Résultat | double |
public static DensityLn ( double shape, double invScale, double x ) : double | ||
shape | double | |
invScale | double | |
x | double | |
Résultat | double |
public Gamma ( double shape, double invScale, Func |
||
shape | double | |
invScale | double | |
randomFactory | Func |
|
Résultat | System |
public static Sample ( |
||
rnd | ||
shape | double | |
invScale | double | |
Résultat | double |
public static Samples ( |
||
rnd | ||
shape | double | |
invScale | double | |
Résultat | IEnumerable |
public static WithShapeInvScale ( double shape, double invScale ) : |
||
shape | double | The shape of the Gamma distribution. |
invScale | double | The inverse scale of the Gamma distribution. |
Résultat |
public static WithShapeScale ( double shape, double scale ) : |
||
shape | double | The shape of the Gamma distribution. |
scale | double | The scale of the Gamma distribution. |
Résultat |