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.

Version: 0.0.2
Suggests: testthat (≥ 3.0.0), nortest
Published: 2024-05-27
DOI: 10.32614/CRAN.package.PRNG
Author: Sajad Ahmad Mir ORCID iD [aut, cre], Dr. Puneet Sharma ORCID iD [aut]
Maintainer: Sajad Ahmad Mir <mir.1 at iitj.ac.in>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: PRNG results

Documentation:

Reference manual: PRNG.pdf

Downloads:

Package source: PRNG_0.0.2.tar.gz
Windows binaries: r-devel: PRNG_0.0.2.zip, r-release: PRNG_0.0.2.zip, r-oldrel: PRNG_0.0.2.zip
macOS binaries: r-release (arm64): PRNG_0.0.2.tgz, r-oldrel (arm64): PRNG_0.0.2.tgz, r-release (x86_64): PRNG_0.0.2.tgz, r-oldrel (x86_64): PRNG_0.0.2.tgz
Old sources: PRNG archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=PRNG to link to this page.