Click or drag to resize

ZipfSample(Double, Int32) Method

Samples a random variable.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static int Sample(
	double s,
	int n
)

Parameters

s  Double
The s parameter of the distribution.
n  Int32
The n parameter of the distribution.

Return Value

Int32
A sample from the distribution.
See Also