Matrix Elements VB-800 Instrukcja Użytkownika Strona 76

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 75
68 Appendix A2 Exported Function Summary
Return value
Returns a pointer to mDest.
RanDirichlet
void RanDirichlet(VECTOR vX, VECTOR vAlpha, int cAlpha);
vX[cAlpha - 1] out: random values
vAlpha[cAlpha] in: shape parameters
RanGetSeed
int RanGetSeed(int *piSeed, int cSeed);
piSeed in: NULL (only returns the seed count), or array with cSeed in-
teger elements
piSeed out: current seeds
Return value
Returns the number of seeds used in the current generator..
RanNewRan, RanSetRan
void RanNewRan(DRANFUN fnDRanu,
RANSETSEEDFUN fnRanSetSeed, RANGETSEEDFUN fnRanGetSeed);
void RanSetRan(const char *sRan);
sRan in: string, one of "PM", "GM", "LE"
fnDRanu in: pointer to new random number generator (same
syntax as DRanU)
fnRanSetSeed in: pointer to new set seed function (same syntax as
RanSetSeed)
fnRanGetSeed in: pointer to new get seed function (same syntax as
RanSetGeed)
Description
RanSetRan chooses one of the built-in generators. RanNewRan installs a new
generator.
RanSetSeed
void RanSetSeed(int *piSeed, int cSeed);
piSeed in: NULL (means a reset to initial seed), or array with cSeed new
seeds (which may not be 0)
Description
Sets the seeds for the current random number generator.
RanUorder, RanSubSample, RanWishart
void RanUorder(VECTOR vU, int cU);
void RanSubSample(VECTOR vU, int cU, int cN);
void RanWishart(MATRIX mX, int cX);
Przeglądanie stron 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag