Package: stors 0.2.1

Ahmad S. ALQabandi

stors: Steps Optimized Rejection Sampling

Fast and efficient sampling from general univariate probability density functions. Implements a rejection sampling approach designed to take advantage of modern CPU caches and minimise evaluation of the the target density for most samples. Many standard densities are internally implemented in 'C' for high performance, with general user defined densities also supported.

Authors:Ahmad ALQabandi [cre, aut], Louis Aslett [aut, ths]

stors_0.2.1.tar.gz
stors_0.2.1.zip(r-4.5)stors_0.2.1.zip(r-4.4)stors_0.2.1.zip(r-4.3)
stors_0.2.1.tgz(r-4.5-x86_64)stors_0.2.1.tgz(r-4.5-arm64)stors_0.2.1.tgz(r-4.4-x86_64)stors_0.2.1.tgz(r-4.4-arm64)stors_0.2.1.tgz(r-4.3-x86_64)stors_0.2.1.tgz(r-4.3-arm64)
stors_0.2.1.tar.gz(r-4.5-noble)stors_0.2.1.tar.gz(r-4.4-noble)
stors_0.2.1.tgz(r-4.4-emscripten)stors_0.2.1.tgz(r-4.3-emscripten)
stors.pdf |stors.html
stors/json (API)

# Install 'stors' in R:
install.packages('stors', repos = c('https://ahmad-alqabandi.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ahmad-alqabandi/stors/issues

On CRAN:

4.68 score 2 stars 4 scripts 24 exports 2 dependencies

Last updated 1 hours agofrom:0ad49cb429. Checks:7 OK, 4 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 21 2025
R-4.5-win-x86_64NOTEFeb 21 2025
R-4.5-mac-x86_64NOTEFeb 21 2025
R-4.5-mac-aarch64NOTEFeb 21 2025
R-4.5-linux-x86_64NOTEFeb 21 2025
R-4.4-win-x86_64OKFeb 21 2025
R-4.4-mac-x86_64OKFeb 21 2025
R-4.4-mac-aarch64OKFeb 21 2025
R-4.3-win-x86_64OKFeb 21 2025
R-4.3-mac-x86_64OKFeb 21 2025
R-4.3-mac-aarch64OKFeb 21 2025

Exports:build_proposalbuild_samplerdelete_build_in_proposaldelete_proposalload_proposalprint_proposalssave_proposalsrbeta_customsrbeta_optimizesrchisq_customsrchisq_optimizesrexpsrexp_customsrexp_optimizesrgamma_customsrgamma_optimizesrlaplacesrlaplace_customsrlaplace_optimizesrnormsrnorm_customsrnorm_optimizesrpareto_customsrpareto_optimize

Dependencies:digestmicrobenchmark

Sampling from Built-in Distributions using stors

Rendered fromSampling_Built_in_distributions.Rmdusingknitr::rmarkdownon Feb 21 2025.

Last update: 2025-02-21
Started: 2024-10-07

Sampling from User-Defined Distributions using stors

Rendered fromSampling_user_distributions.Rmdusingknitr::rmarkdownon Feb 21 2025.

Last update: 2025-02-21
Started: 2024-10-07

stors package

Rendered fromstors_package.Rmdusingknitr::rmarkdownon Feb 21 2025.

Last update: 2025-02-21
Started: 2023-11-27