Počet záznamů: 1
Seeding the Default RNG with a Numeric Vector
- 1.0436882 - ÚI 2015 RIV CZ eng L4 - Software
Savický, Petr
Seeding the Default RNG with a Numeric Vector.
Interní kód: rngSetSeed ; 2012
Technické parametry: rozšiřující balík pro statistické prostředí R implementovaný v jazyce C a R
Ekonomické parametry: Funkce poskytuje lepší kvalitu inicializace náhodného generátoru než standardní funkce set.seed() a umožňuje snadněji vytvořit několik nezávislých posloupností náhodných čísel.
Grant CEP: GA ČR GAP202/10/1333
Institucionální podpora: RVO:67985807
Klíčová slova: random number generator * R extension package
Kód oboru RIV: IN - Informatika
http://cran.at.r-project.org/web/packages/rngSetSeed/index.html
A function setVectorSeed() is provided. Its argument is a numeric vector of an arbitrary nonzero length, whose components have integer values from [0, 2^32-1]. The input vector is transformed using AES (Advanced Encryption Standard) algorithm into an initial state of Mersenne-Twister random number generator. The function provides a better alternative to the R base function set.seed(), if the input vector is a single integer. Initializing a stream of random numbers with a vector is a convenient way to obtain several streams, each of which is identified by several integer indices.
Trvalý link: http://hdl.handle.net/11104/0240511
Počet záznamů: 1