stors: Step Optimised 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 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.

Package details

AuthorAhmad ALQabandi [cre, aut, cph] (<https://orcid.org/0009-0006-0055-3846>), Louis Aslett [aut, ths, cph] (<https://orcid.org/0000-0003-2211-233X>)
MaintainerAhmad ALQabandi <ahmad.alqabandi@durham.ac.uk>
LicenseMIT + file LICENSE
Version1.0.1
URL https://ahmad-alqabandi.github.io/stors/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("stors")

Try the stors package in your browser

Any scripts or data that you put into this service are public.

stors documentation built on April 3, 2025, 6:16 p.m.