Click or drag to resize

FloatRandomLaplaceDistribution(Single, Single) Constructor

Constructs a random number generator for a Laplace distribution using the specified distribution parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public FloatRandomLaplaceDistribution(
	float mean,
	float scale
)

Parameters

mean  Single
Mean value.
scale  Single
Scale factor.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the scale factor is not greater than 0.
Remarks
The scale factor determines the standard deviation: sigma = scale * sqrt(2)
See Also