Click or drag to resize

GeometricDistribution(Double, Generator) Constructor

Initializes a new instance of the GeometricDistribution class with the specified success probability and underlying random number generator.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public GeometricDistribution(
	double probability,
	Generator generator
)

Parameters

probability  Double
The success probability p in the range (0, 1].
generator  Generator
A Generator object.
Exceptions
ExceptionCondition
ArgumentNullExceptiongenerator is NULL ( in Visual Basic).
ArgumentOutOfRangeExceptionThrown when probability is outside (0, 1].
See Also