Click or drag to resize
Accord.NET (logo)

GeneralizedNormalDistributionLaplace Method

Create an LaplaceDistribution distribution using a GeneralizedNormalDistribution specialization.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static GeneralizedNormalDistribution Laplace(
	[RealAttribute(-1.79769313486232E+308, 1.79769313486232E+308)] double location,
	[PositiveAttribute(4.94065645841247E-324, 1.79769313486232E+308)] double scale
)
Request Example View Source

Parameters

location
Type: SystemDouble
The Laplace's location parameter μ (mu).
scale
Type: SystemDouble
The Laplace's scale parameter b.

Return Value

Type: GeneralizedNormalDistribution
A GeneralizedNormalDistribution that provides a LaplaceDistribution.
See Also