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