Class ChiSampler
Generate samples from a Chi distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class ChiSampler : SampleGenerator
Constructors
ChiSampler(int)
Create a new instance of a Chi distribution sampler with the specified degrees of freedom.
Declaration
public ChiSampler(int freedom)
Parameters
| Type | Name | Description |
|---|---|---|
| int | freedom |
Properties
Freedom
Degrees of freedom
Declaration
public int Freedom { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Sample()
Evaluate a sample from the Chi distribution
Declaration
public override ElementValue Sample()
Returns
| Type | Description |
|---|---|
| ElementValue |