void RandomF(Int32 ANu1, Int32 ANu2, TDenseMtxVec results, Int32 Seed)
F distribution random generator.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ANu1 | Int32 | |
| 2 | ANu2 | Int32 | |
| 3 | results | TDenseMtxVec | source TVec or TMtx |
| 4 | Seed | Int32 |
Result: stored in self (calling object)
Remarks:
This routine generates Result.Length pseudo random numbers, using the F distribution with parameters ANu1 and ANu2. The random numbers are stored in the Results vector. An exception is raised if Result vector is complex.
Examples
using Dew.Math;
using Dew.Stats.Units;
namespace Dew.Examples
{
private void Example()
{
Vector r = new Vector(2000,false);
StatRandom.RandomF(2, 5, r, -1);
}
}