Class InverseGammaSampler
Generate samples from an InverseGamma distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class InverseGammaSampler : SampleGenerator
Constructors
InverseGammaSampler(double, double)
Create a new instance of a InverseGammaSampler distribution sampler with the specified shape and scale parameters
Declaration
public InverseGammaSampler(double shape, double scale)
Parameters
Type | Name | Description |
---|---|---|
double | shape | |
double | scale |
Properties
Scale
Rate parameter
Declaration
public double Scale { 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 InverseGammaSampler distribution
Declaration
public override ElementValue Sample()
Returns
Type | Description |
---|---|
ElementValue |