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