The Stan Math Library is a C++ template library for automatic differentiation of any order using forward, reverse, and mixed modes. It includes a range of built-in functions for probabilistic modeling, linear algebra, and equation solving.
☆807Feb 21, 2026Updated last week
Alternatives and similar repositories for math
Users that are interested in math are comparing it to the libraries listed below
Sorting:
- Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. …☆2,720Updated this week
- CmdStan, the command line interface to Stan☆237Updated this week
- automatic differentiation made easier for C++☆1,919Jan 27, 2025Updated last year
- Combined array and automatic differentiation library in C++☆186Oct 5, 2025Updated 4 months ago
- Source Code Generation for Automatic Differentiation using Operator Overloading☆194Aug 10, 2025Updated 6 months ago
- a lightweight header-only C++17 library of numerical optimization methods for (un-)constrained nonlinear functions and expression templat…☆951Jan 9, 2026Updated last month
- Fast automatic differentiation library in C++☆111Oct 29, 2021Updated 4 years ago
- A header-only C++ library for numerical optimization --☆805Feb 2, 2026Updated 3 weeks ago
- A C++ Algorithmic Differentiation Package: Home Page☆558Jan 4, 2026Updated last month
- Documentation for the Stan language and CmdStan☆42Feb 18, 2026Updated last week
- A header-only C++ library for large scale eigenvalue problems☆832Aug 26, 2025Updated 6 months ago
- loo R package for approximate leave-one-out cross-validation (LOO-CV) and Pareto smoothed importance sampling (PSIS)☆155Updated this week
- bayesplot R package for plotting Bayesian models☆440Feb 13, 2026Updated 2 weeks ago
- PyStan, the Python interface to Stan☆928Feb 17, 2021Updated 5 years ago
- ArrayFire: a general purpose GPU library.☆4,859Sep 5, 2025Updated 5 months ago
- Stan website built using Quarto, theming in repo quarto-config☆23Jan 23, 2026Updated last month
- C++ library for solving large sparse linear systems with algebraic multigrid method☆837Jan 20, 2026Updated last month
- CmdStanR: the R interface to CmdStan☆156Updated this week
- RStan, the R interface to Stan☆1,075Updated this week
- C++ tensors with broadcasting and lazy computing☆3,704Jan 29, 2026Updated last month
- OptimLib: a lightweight C++ library of numerical optimization methods for nonlinear functions☆886Apr 28, 2024Updated last year
- High-performance automatic differentiation of LLVM and MLIR.☆1,542Updated this week
- CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse mat…☆2,137Feb 12, 2026Updated 2 weeks ago
- mlpack: a fast, header-only C++ machine learning library☆5,601Updated this week
- A C++ header-only library of statistical distribution functions.☆560May 14, 2023Updated 2 years ago
- The posterior R package☆168Updated this week
- brms R package for Bayesian generalized multivariate non-linear multilevel models using Stan☆1,389Feb 20, 2026Updated last week
- An Eigen-based, light-weight C++ Interface to Nonlinear Programming Solvers (Ipopt, Snopt)☆847Nov 3, 2025Updated 3 months ago
- Inference on marginal distributions using gradient-based optimization☆13Mar 27, 2017Updated 8 years ago
- A probabilistic programming language in TensorFlow. Deep generative models, variational inference.☆4,845Mar 18, 2024Updated last year
- Fast, easy automatic differentiation in C++☆411Feb 6, 2026Updated 3 weeks ago
- Seamless R and C++ Integration☆786Feb 17, 2026Updated last week
- Materials from Stan conferences☆256Oct 22, 2020Updated 5 years ago
- Rcpp integration for the Eigen templated linear algebra library☆117Jan 16, 2026Updated last month
- stdgpu: Efficient STL-like Data Structures on the GPU☆1,253Feb 7, 2026Updated 3 weeks ago
- Enoki: structured vectorization and differentiation on modern processor architectures☆1,286Feb 6, 2025Updated last year
- Example models for Stan☆791Oct 23, 2025Updated 4 months ago
- A lightweight high performance tensor algebra framework for modern C++☆832Jul 8, 2025Updated 7 months ago
- Reimplementation of Stan algorithms☆19Jan 11, 2022Updated 4 years ago