Click or drag to resize

LaplaceSample Method (Double, Double)

Static method which generates new sample of Laplace distribution variate with specified parameters.

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

Parameters

mean
Type: SystemDouble
Mean.
scale
Type: SystemDouble
Scale, must be positive.

Return Value

Type: Double
Chi-sqaure distributed sample.
See Also