Package: stors 1.0.1

Ahmad ALQabandi

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.

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

stors_1.0.1.tar.gz
stors_1.0.1.zip(r-4.7)stors_1.0.1.zip(r-4.6)stors_1.0.1.zip(r-4.5)
stors_1.0.1.tgz(r-4.6-x86_64)stors_1.0.1.tgz(r-4.6-arm64)stors_1.0.1.tgz(r-4.5-x86_64)stors_1.0.1.tgz(r-4.5-arm64)
stors_1.0.1.tar.gz(r-4.7-arm64)stors_1.0.1.tar.gz(r-4.7-x86_64)stors_1.0.1.tar.gz(r-4.6-arm64)stors_1.0.1.tar.gz(r-4.6-x86_64)
stors_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
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

Pkgdown/docs site:https://ahmad-alqabandi.github.io

On CRAN:

Conda:

4.65 score 3 stars 5 scripts 225 downloads 24 exports 4 dependencies

Last updated from:6f6711c068. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK140
linux-devel-x86_64OK137
source / vignettesOK238
linux-release-arm64OK133
linux-release-x86_64OK141
macos-release-arm64OK189
macos-release-x86_64OK247
macos-oldrel-arm64OK192
macos-oldrel-x86_64OK295
windows-develOK122
windows-releaseOK116
windows-oldrelOK127
wasm-releaseOK105

Exports:build_proposalbuild_samplerdelete_built_in_proposaldelete_proposalload_proposalprint_proposalssave_proposalsrbeta_customsrbeta_optimizesrchisq_customsrchisq_optimizesrexpsrexp_customsrexp_optimizesrgamma_customsrgamma_optimizesrlaplacesrlaplace_customsrlaplace_optimizesrnormsrnorm_customsrnorm_optimizesrpareto_customsrpareto_optimize

Dependencies:clidigestmicrobenchmarkrlang

stors package
Introduction | Sampling from Built-in Distributions | Sampling from Users' Distributions | Saving, Loading and Deleting Users' Proposals

Last update: 2025-03-03
Started: 2023-11-27

Sampling from Built-in Distributions using stors
Introduction

Last update: 2025-03-03
Started: 2024-10-07

Sampling from User-Defined Distributions using stors
Introduction | Sampling from User-Defined Distributions | Saving, Loading and Deleting Users' Proposals

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