Class LaplaceSampler
Generate samples from a Laplace distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class LaplaceSampler : SampleGenerator
Constructors
LaplaceSampler(double, double)
Create a new instance of a LaplaceSampler distribution sampler with the specified shape and scale parameters
Declaration
public LaplaceSampler(double mu, double b)
Parameters
Type | Name | Description |
---|---|---|
double | mu | |
double | b |
Properties
B
B parameter
Declaration
public double B { get; set; }
Property Value
Type | Description |
---|---|
double |
Mu
A parameter
Declaration
public double Mu { get; set; }
Property Value
Type | Description |
---|---|
double |
Methods
Sample()
Get a sample from the LaplaceSampler distribution
Declaration
public override ElementValue Sample()
Returns
Type | Description |
---|---|
ElementValue |