void RandomStudent(Int32 V, TDenseMtxVec results, Int32 Seed)
Student(T) distribution random generator.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | V | Int32 | |
| 2 | results | TDenseMtxVec | source TVec or TMtx |
| 3 | Seed | Int32 |
Result: stored in self (calling object)
Remarks:
This routine generates Result.Length pseudo random numbers, using the Student (t) distribution with parameter V. 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.RandomStudent(5,r,-1);
}
}