Skip to content

RcppEnsmallen

Header-Only C++ Mathematical Optimization Library for 'Armadillo'

v0.3.10.0.1 · Sep 30, 2025 · GPL (>= 2)

Description

'Ensmallen' is a templated C++ mathematical optimization library (by the 'MLPACK' team) that provides a simple set of abstractions for writing an objective function to optimize. Provided within are various standard and cutting-edge optimizers that include full-batch gradient descent techniques, small-batch techniques, gradient-free optimizers, and constrained optimization. The 'RcppEnsmallen' package includes the header files from the 'Ensmallen' library and pairs the appropriate header files from 'armadillo' through the 'RcppArmadillo' package. Therefore, users do not need to install 'Ensmallen' nor 'Armadillo' to use 'RcppEnsmallen'. Note that 'Ensmallen' is licensed under 3-Clause BSD, 'Armadillo' starting from 7.800.0 is licensed under Apache License 2, 'RcppArmadillo' (the 'Rcpp' bindings/bridge to 'Armadillo') is licensed under the GNU GPL version 2 or later. Thus, 'RcppEnsmallen' is also licensed under similar terms. Note that 'Ensmallen' requires a compiler that supports 'C++14' and 'Armadillo' 10.8.2 or later.

Downloads

746

Last 30 days

4848th

2.9K

Last 90 days

14.8K

Last year

Trend: -33.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (6)

Dependency Network

Dependencies Reverse dependencies Rcpp PJFM Racmacs mlpack rcppmlpackexamples slideimp sparsevb RcppEnsmallen

Version History

new 0.3.10.0.1 Mar 10, 2026
updated 0.3.10.0.1 ← 0.2.22.1.2 diff Sep 30, 2025
updated 0.2.22.1.2 ← 0.2.22.1.1 diff Sep 9, 2025
updated 0.2.22.1.1 ← 0.2.21.1.1 diff Dec 2, 2024
updated 0.2.21.1.1 ← 0.2.21.0.1 diff Feb 16, 2024
updated 0.2.21.0.1 ← 0.2.20.0.1 diff Nov 26, 2023
updated 0.2.20.0.1 ← 0.2.19.0.1 diff Oct 5, 2023
updated 0.2.19.0.1 ← 0.2.18.2.1 diff Apr 10, 2022
updated 0.2.18.2.1 ← 0.2.18.1.1 diff Feb 18, 2022
updated 0.2.18.1.1 ← 0.2.18.0.1 diff Nov 21, 2021
updated 0.2.18.0.1 ← 0.2.17.0.1 diff Oct 21, 2021
updated 0.2.17.0.1 ← 0.2.16.1.1 diff Jul 5, 2021
updated 0.2.16.1.1 ← 0.2.15.0.1 diff Mar 4, 2021
updated 0.2.15.0.1 ← 0.2.14.2.1 diff Nov 3, 2020
updated 0.2.14.2.1 ← 0.2.14.1.1 diff Sep 6, 2020
updated 0.2.14.1.1 ← 0.2.13.0.1 diff Aug 26, 2020
updated 0.2.13.0.1 ← 0.2.12.1.1 diff Jul 23, 2020
updated 0.2.12.1.1 ← 0.2.11.3.1 diff Apr 23, 2020
updated 0.2.11.3.1 ← 0.2.11.1.1 diff Feb 19, 2020
updated 0.2.11.1.1 ← 0.2.10.3.1 diff Jan 13, 2020