Class ExponentialSampler
Generate samples from an Exponential distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class ExponentialSampler : SampleGenerator
Constructors
ExponentialSampler(double)
Create a new instance of a Exponential distribution sampler with the specified lambda (rate) parameter
Declaration
public ExponentialSampler(double lambda)
Parameters
| Type | Name | Description |
|---|---|---|
| double | lambda |
Properties
Lambda
Rate parameter
Declaration
public double Lambda { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
Sample()
Evaluate a sample from the Exponential distribution
Declaration
public override ElementValue Sample()
Returns
| Type | Description |
|---|---|
| ElementValue |