R-CMD-check License CRAN Downloads


Ensmallen is a C++ header-only mathematical optimization library written by developers behind MLPACK 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.


The package is under active development with releases to CRAN about once a month.


James Balamuta and Dirk Eddelbuettel


GPL (>= 2)