BetaSample Method (Double, Double)
|
Static method which generates new sample of Beta distribution variate with specified parameters.
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static double Sample(
double a,
double b
)
Parameters
- a
- Type: SystemDouble
Shape parameter a. Must be positive. - b
- Type: SystemDouble
Shape parameter b. Must be positive.
Return Value
Type:
DoubleBeta distributed sample.
See Also