Click or drag to resize

ZipfSamples(Random, Double, Int32) Method

Samples a sequence of this random variable.

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static IEnumerable<int> Samples(
	Random rnd,
	double s,
	int n
)

Parameters

rnd  Random
The random number generator to use.
s  Double
The s parameter of the distribution.
n  Int32
The n parameter of the distribution.

Return Value

IEnumerableInt32
An infinite sequence of samples from the distribution.
See Also