Click or drag to resize

PoissonSample Method (Double)

Static method which generates new sample of Poisson distribution variate with specified lambda.

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static int Sample(
	double lambda
)

Parameters

lambda
Type: SystemDouble
Distribution parameter. Must be positive.

Return Value

Type: Int32
Random variable sample.
See Also