stors: Step Optimised Rejection Sampling (original) (raw)

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 target density for most samples. Many standard densities are internally implemented in 'C' for high performance, with general user defined densities also supported. A paper describing the methodology will be released soon.

Version: 1.0.1
Depends: R (≥ 4.2.0)
Imports: digest, microbenchmark, cli, rlang
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), ggplot2
Published: 2025-03-11
DOI: 10.32614/CRAN.package.stors
Author: Ahmad ALQabandi ORCID iD [cre, aut, cph], Louis Aslett ORCID iD [aut, ths, cph]
Maintainer: Ahmad ALQabandi <ahmad.alqabandi at durham.ac.uk>
License: MIT + file
URL: https://ahmad-alqabandi.github.io/stors/
NeedsCompilation: yes
Materials: README
CRAN checks: stors results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=storsto link to this page.