ZipfianDistribution Constructor

Constructs a new Zipfian distribution.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public ZipfianDistribution(
	double s,
	int n
)

Parameters

s  Double
 
n  Int32
 

Exceptions

ArgumentOutOfRangeException

numberOfElements is less than 1.

-or-

shape is less than or equal to zero.

See Also