Class ChiSquaredSampler
Generate samples from a Chi Squared distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class ChiSquaredSampler : SampleGenerator
Constructors
ChiSquaredSampler(int)
Create a new instance of a Chi Squared distribution sampler with the specified degrees of freedom.
Declaration
public ChiSquaredSampler(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 Squared distribution
Declaration
public override ElementValue Sample()
Returns
| Type | Description |
|---|---|
| ElementValue |