ensmallen
« Back to VersTracker
Description:
Flexible C++ library for efficient mathematical optimization
Type: Formula  |  Latest Version: 3.11.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ optimization math numerical library
Install: brew install ensmallen
About:
Ensmallen is a fast, flexible C++ library for numerical optimization. It provides a simple and consistent API for various optimization algorithms, including gradient descent and coordinate descent. The library is designed to integrate seamlessly with Armadillo for high-performance linear algebra operations.
Key Features:
  • Header-only C++ library for easy integration
  • Simple and unified API for various optimizers
  • High performance with support for Armadillo matrices
  • Extensive suite of optimization algorithms
Use Cases:
  • Machine learning model training and parameter fitting
  • Solving large-scale numerical optimization problems
  • Research and prototyping of new optimization algorithms
Alternatives:
  • dlib – dlib is a larger, more comprehensive toolkit that includes optimization alongside other ML and computer vision tools, while ensmallen is a focused, lightweight library specifically for optimization.
  • NLopt – NLopt is a library for nonlinear optimization with a C API; ensmallen provides a modern C++-native interface and is designed for integration with Armadillo.
License: BSD-3-Clause
Dependencies: armadillo
Bottles available for: all
Version History
Detected Version Rev Change Commit
Dec 16, 2025 5:05pm 0 VERSION_BUMP 7056178f
Sep 30, 2025 9:15pm 0 VERSION_BUMP 1a12042a