Method | Description | |
---|---|---|
Categorical ( |
||
Categorical ( double p, Func |
||
CumulativeDistribution ( double x ) : double |
확률 분포 계산을 위한 누적분포함수
|
|
Probability ( int k ) : double |
분포의 확률
|
|
ProbabilityLn ( int k ) : double |
분포의 Log 확률
|
|
Sample ( ) : int |
분포의 데이타를 반환합니다.
|
|
Samples ( ) : IEnumerable |
분포의 무작위 데이타를 열거합니다.
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
AssertParameters ( IEnumerable |
||
DoSamples ( |
Returns one trials from the categorical distribution.
|
|
SetParameters ( double p ) : void | ||
UnnormalizedCdf ( double p ) : double[] |
Computes the unnormalized cumulative distribution function. This method performs no parameter checking.
|
public Categorical ( |
||
histogram | ||
randomFactory | Func |
|
return | System |
public Categorical ( double p, Func |
||
p | double | |
randomFactory | Func |
|
return | System |
public CumulativeDistribution ( double x ) : double | ||
x | double | The location at which to compute the cumulative distribution function. |
return | double |