Click or drag to resize

Multinomial(Histogram, Int32) Constructor

Initializes a new instance of the Multinomial class from histogram h. The distribution will not be automatically updated when the histogram changes.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Multinomial(
	Histogram h,
	int n
)

Parameters

h  Histogram
Histogram instance
n  Int32
The number of trials.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf any of the probabilities are negative or do not sum to one.
ArgumentOutOfRangeExceptionIf n is negative.
See Also