Other packages > Find by keyword >

LangevinFlow  

Langevin Diffusion Samplers with a C++ Backend
View on CRAN: Click here


Download and install LangevinFlow package within the R console
Install from CRAN:
install.packages("LangevinFlow")

Install from Github:
library("remotes")
install_github("cran/LangevinFlow")

Install by package version:
library("remotes")
install_version("LangevinFlow", "0.1.0")



Attach the package and use:
library("LangevinFlow")
Maintained by
Behrooz Moosavi
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-05-29
Latest Update: 2026-05-29
Description:
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>.
How to cite:
Behrooz Moosavi (2026). LangevinFlow: Langevin Diffusion Samplers with a C++ Backend. R package version 0.1.0, https://cran.r-project.org/web/packages/LangevinFlow. Accessed 18 Jul. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited LangevinFlow R package
View LangevinFlow citation profile
Other R packages that LangevinFlow depends, imports, suggests or enhances
Complete documentation for LangevinFlow
Functions, R codes and Examples using the LangevinFlow R package
Full LangevinFlow package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

nricens  
NRI for Risk Prediction Models with Time to Event and Binary Response Data
Calculating the net reclassification improvement (NRI) for risk prediction models with time to event ...
Download / Learn more Package Citations See dependency  
MSCMT  
Multivariate Synthetic Control Method Using Time Series
Three generalizations of the synthetic control method (which has already an implementation in packa ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
timeSeq  
Detecting Differentially Expressed Genes in Time Course RNA-Seq Data
A negative binomial mixed-effects (NBME) model to detect nonparallel differential expression(NPDE) ...
Download / Learn more Package Citations See dependency  
SSM  
Fit and Analyze Smooth Supersaturated Models
Creates an S4 class "SSM" and defines functions for fitting smooth supersaturated models, a polynomi ...
Download / Learn more Package Citations See dependency  
logistic4p  
Logistic Regression with Misclassification in Dependent Variables
Error in a binary dependent variable, also known as misclassification, has not drawn much attention ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

74,019

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA