InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 22 C++ Mathematic Projects
-
C-Plus-Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
-
JetBrains
Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
-
As for math, that was the easiest choice as of yet. No doubt, GLM is a "gold standard" at this point. For OpenGL it is, at least. But, like with a lot of the other APIs, I decided to build a wrapper around it rather than directly reference the library in the engine's code. And for physics, well, I had not come upon that answer just yet. I did try to make my own physics logic at some point. And while it was, surprisingly, successful, I wanted more than just a simple physics layer. I wanted something more complex and, more importantly, faster than my implementation. I have not decided upon a physics library yet. But I'll cross that bridge when I come to it.
-
-
casadi
CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave.
-
MathParser.org-mXparser
Math Parser: Java, C#, C++, Kotlin, Android, and all .NET platforms (Nuget, Maven, CMake). Supports .NET Framework, .NET Core, .NET Standard, Xamarin, and more. Features: rich built-in library of math functions, operators, constants. Flexible in user-defined arguments, functions. Expressions provided as plain text. Easy to use. Well documented.
-
ExprTK
C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
-
AlgoPlus
AlgoPlus is a C++17 library with implemented data structures and algorithms for various topics(including machine learning)
-
-
-
gclc
GCLC is a mathematical software tool for producing high-quality mathematical illustrations, for teaching mathematics, and for automated proving of geometry theorems. (by janicicpredrag)
-
In my latest contribution to the open-source library Theoretica, I tackled Issue #81 focused on refining and enhancing the inline documentation for two central components: mat (the matrix class) and vec (the vector class). This issue was raised to improve the readability and usability of these classes, which are essential in mathematical computations and commonly used across various areas in the library. Proper documentation is key to making complex code accessible to other developers and contributors.
-
Knots
A tool for drawing 2d diagrams, 3d knots, Seifert surfaces. Computes some knot properties and invariants.
-
OpenGL-Particle-Motion
This project simulates the motion of electrons and protons using Coulomb's Law. The simulation is visually represented on-screen using OpenGL.
-
-
EUL
The mathEmatics Useful Library (the name is a work in progress) is a math general purpose c++20 header library that, among other things, features a big integer implementation. (by ThePirate42)
-
-
-
Socrates
Socrates is a simple, single-file math library specifically made for game/game engine development (by FrodoAlaska)
The implementation code would effectively be copied into the translation unit and then compiled normally. I love these kind of libraries. They are usually easy to use, very easy to integrate, and a lightweight dependency overall. I even created a library or two in the same vain just for fun. But why am I talking about single-header libraries now? Besides the fact that most of my dependencies are single-header, I wanted to somewhat imitate the spirit of single-header libraries while avoiding the need to jumble all my code into one header file. While it is convenient to have all the code in one place and, once again, it would be very easy to integrate by other folks, but, seeing how I am already an unorganized person, I will refrain from the complexity that comes with such a design. Instead, I wanted to have separate translation units for every module, but keep the idea of a single-header file for the definitions. Let me explain.
-
My-Hello-World-first-code-
This function lists the permutations in which from the first arrangement, no student fights the same pair of students twice
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
C++ Mathematics discussion
C++ Mathematics related posts
-
"A calculator app? Anyone could make that."
-
Updates to H-1B
-
Improving Documentation in Theoretica
-
Gamedev Math: Not Just A Tool But A Necessity
-
How to render TrueType Fonts in OpenGL using stb_truetype.h
-
Release of GLM 1.0.0
-
What files from glm's github do I need to add to my emscripten project?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 2 Sep 2025
Index
What are some of the best open-source Mathematic projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | C-Plus-Plus | 32,733 |
2 | GLM | 10,180 |
3 | root | 2,957 |
4 | casadi | 1,989 |
5 | MathParser.org-mXparser | 934 |
6 | ExprTK | 831 |
7 | muparser | 474 |
8 | fplll | 364 |
9 | cadabra2 | 254 |
10 | AlgoPlus | 186 |
11 | euler-fluid-cpp | 98 |
12 | fixed_math | 83 |
13 | gclc | 63 |
14 | theoretica | 28 |
15 | Knots | 18 |
16 | OpenGL-Particle-Motion | 9 |
17 | tomorrow | 9 |
18 | EUL | 6 |
19 | emel-lang | 5 |
20 | quadelect | 3 |
21 | Socrates | 3 |
22 | My-Hello-World-first-code- | 0 |