Class BetaSampler
Generates samples from a B distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class BetaSampler : SampleGenerator
Constructors
BetaSampler(double, double)
Create a new instance of a B distribution sampler with alpha and beta parameters a and b.
Declaration
public BetaSampler(double a, double b)
Parameters
Type | Name | Description |
---|---|---|
double | a | |
double | b |
Methods
Sample()
Generate a new sample from the B distribution
Declaration
public override ElementValue Sample()
Returns
Type | Description |
---|---|
ElementValue |