Click or drag to resize
Accord.NET (logo)

ExponentialGenerator Constructor (Single, Int32)

Initializes a new instance of the ExponentialGenerator class.

Namespace:  Accord.Math.Random
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public ExponentialGenerator(
	float rate,
	int seed
)
Request Example View Source

Parameters

rate
Type: SystemSingle
Rate value (inverse mean).
seed
Type: SystemInt32
Seed value to initialize random numbers generator.
Exceptions
ExceptionCondition
ArgumentExceptionRate value should be greater than zero.
See Also