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.
stan-dev/math has 845 GitHub stars.
It currently ranks #6408 daily, #6230 weekly, #7881 monthly by momentum on Trending Repos; its best-ever rank is #1234.
Trending Repos first recorded it on Jun 18, 2026.