Package: PRNG 0.0.2.1.3
PRNG: A Pseudo-Random Number Generator
Provides functions for generating pseudo-random numbers that follow a uniform distribution [0,1]. Randomness tests were conducted using the National Institute of Standards and Technology test suite<https://csrc.nist.gov/pubs/sp/800/22/r1/upd1/final>, along with additional tests. The sequence generated depends on the initial values and parameters. The package includes a linear congruence map as the decision map and three chaotic maps to generate the pseudo-random sequence, which follow a uniform distribution. Other distributions can be generated from the uniform distribution using the Inversion Principle Method and BOX-Muller transformation. Small perturbations in seed values result in entirely different sequences of numbers due to the sensitive nature of the maps being used. The chaotic nature of the maps helps achieve randomness in the generator. Additionally, the generator is capable of producing random bits.
Authors:
PRNG_0.0.2.1.3.tar.gz
PRNG_0.0.2.1.3.zip(r-4.5)PRNG_0.0.2.1.3.zip(r-4.4)PRNG_0.0.2.1.3.zip(r-4.3)
PRNG_0.0.2.1.3.tgz(r-4.4-any)PRNG_0.0.2.1.3.tgz(r-4.3-any)
PRNG_0.0.2.1.3.tar.gz(r-4.5-noble)PRNG_0.0.2.1.3.tar.gz(r-4.4-noble)
PRNG_0.0.2.1.3.tgz(r-4.4-emscripten)PRNG_0.0.2.1.3.tgz(r-4.3-emscripten)
PRNG.pdf |PRNG.html✨
PRNG/json (API)
# Install 'PRNG' in R: |
install.packages('PRNG', repos = c('https://meer-1.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/meer-1/prng/issues
Last updated 3 months agofrom:dfa1e6421b. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 08 2024 |
R-4.5-win | OK | Nov 08 2024 |
R-4.5-linux | OK | Nov 08 2024 |
R-4.4-win | OK | Nov 08 2024 |
R-4.4-mac | OK | Nov 08 2024 |
R-4.3-win | OK | Nov 08 2024 |
R-4.3-mac | OK | Nov 08 2024 |
Exports:baker_maplinear_conlogistic_mapprbitsprcauchyprexpprnormprunfsaw_toothstime
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Baker map | baker_map |
Linear congruence map | linear_con |
Logistic map | logistic_map |
Random Bit generator | prbits |
Cauchy distribution | prcauchy |
Exponentail distribution | prexp |
Generating numbers form Normal distribution here we use Box Muler transform to obtain normal random variable | prnorm |
Uniformly Pseudo random number generator | prunf |
Saw tooth map | saw_tooth |
stime function | stime |