Package: LangevinFlow 0.1.0

Behrooz Moosavi

LangevinFlow: Langevin Diffusion Samplers with a C++ Backend

Provides lightweight, dependency-minimal implementations of Langevin diffusion based Markov chain Monte Carlo samplers, including the Unadjusted Langevin Algorithm (ULA) and the Metropolis-Adjusted Langevin Algorithm (MALA). The core sampling loops are written in C++ via 'Rcpp' and 'RcppArmadillo' for performance, while exposing a simple R-level interface where the user supplies the gradient of the negative log-density (and, for MALA, the negative log-density itself). Intended as a building block for Bayesian inference and stochastic optimization rather than a full probabilistic programming framework. Methods follow Roberts and Tweedie (1996) <doi:10.2307/3318418> and Roberts and Rosenthal (1998) <doi:10.1111/1467-9868.00123>.

Authors:Behrooz Moosavi [aut, cre]

LangevinFlow_0.1.0.tar.gz
LangevinFlow_0.1.0.tar.gz(r-4.7-arm64)LangevinFlow_0.1.0.tar.gz(r-4.7-x86_64)LangevinFlow_0.1.0.tar.gz(r-4.6-arm64)LangevinFlow_0.1.0.tar.gz(r-4.6-x86_64)
LangevinFlow_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
LangevinFlow/json (API)
NEWS

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

Bug tracker:https://github.com/behroozmoosavi/langevinflow/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

2.00 score 2 exports 2 dependencies

Last updated from:5959298ec4. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK142
linux-devel-x86_64OK135
source / vignettesOK199
linux-release-arm64OK144
linux-release-x86_64OK115
wasm-releaseOK120

Exports:malaula

Dependencies:RcppRcppArmadillo

Introduction to LangevinFlow

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2026-05-29
Started: 2026-05-29