Click or drag to resize

NegativeBinomial(Double, Double, Random) Constructor

Initializes a new instance of the NegativeBinomial class.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public NegativeBinomial(
	double r,
	double p,
	Random randomSource
)

Parameters

r  Double
The number of successes (r) required to stop the experiment. Range: r ≥ 0.
p  Double
The probability (p) of a trial resulting in success. Range: 0 ≤ p ≤ 1.
randomSource  Random
The random number generator which is used to draw random samples.
See Also