C++ Mathematics

Open-source C++ projects categorized as Mathematics

Top 22 C++ Mathematic Projects

Mathematics
  1. C-Plus-Plus

    Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. GLM

    OpenGL Mathematics (GLM)

    Project mention: Updates to H-1B | news.ycombinator.com | 2024-12-19

    Closest thing I've heard:

    https://github.com/g-truc/glm?tab=License-1-ov-file#readme

  4. root

    The official repository for ROOT: analyzing, storing and visualizing big data, scientifically

    Project mention: ICPP – Running C++ in anywhere like a script | news.ycombinator.com | 2024-08-03

    Folks who like this kind of thing should definitely check out CERN's Root framework. I've been using its C++ interpreter in a Jupyter notebook environment to learn C++. It's probably also quite a bit more mature than this project. https://root.cern/

  5. 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.

  6. 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.

  7. ExprTK

    C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html

  8. muparser

    muparser is a fast math parser library for C/C++ with (optional) OpenMP support.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. fplll

    Lattice algorithms using floating-point arithmetic

  11. cadabra2

    A field-theory motivated approach to computer algebra.

  12. AlgoPlus

    AlgoPlus is a C++17 library for complex data structures and algorithms

    Project mention: AlgoPlus: A C++17 library for complex Algorithms | news.ycombinator.com | 2024-07-01
  13. euler-fluid-cpp

    Euler fluid simulated with CPP and SFML

  14. fixed_math

    FixedMath: A High-Performance C++23, C++17 Library for Fixed-Point 48.16 Arithmetic

  15. theoretica

    A C++ math library for scientific computing with a simple and elegant interface.

    Project mention: Improving Documentation in Theoretica | dev.to | 2024-11-11

    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.

  16. Knots

    A tool for drawing 2d diagrams, 3d knots, Seifert surfaces. Computes some knot properties and invariants.

  17. tomorrow

    A small graphical calculator project. (by akiss-xyz)

  18. 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.

  19. 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)

  20. emel-lang

    The Emel programming language, a language for solving math problems

  21. quadelect

    Voting method exploration/simulation tool

  22. mandelbrotpp

    🧮 An interactive Mandelbrot set visualizer written in C++.

  23. Socrates

    Socrates is a simple, single-file math library specifically made for game/game engine development (by FrodoAlaska)

    Project mention: Gamedev Math: Not Just A Tool But A Necessity | dev.to | 2024-10-14

    What the bald guy? No, not him, silly. I'm talking about the greatest math library ever created. Shameless plug.

  24. 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

  25. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Mathematics discussion

Log in or Post with

C++ Mathematics related posts

  • Updates to H-1B

    2 projects | news.ycombinator.com | 19 Dec 2024
  • Improving Documentation in Theoretica

    1 project | dev.to | 11 Nov 2024
  • Gamedev Math: Not Just A Tool But A Necessity

    2 projects | dev.to | 14 Oct 2024
  • How to render TrueType Fonts in OpenGL using stb_truetype.h

    3 projects | dev.to | 14 Sep 2024
  • Release of GLM 1.0.0

    1 project | news.ycombinator.com | 24 Jan 2024
  • What files from glm's github do I need to add to my emscripten project?

    1 project | /r/GraphicsProgramming | 13 Jun 2023
  • What is a file with the .i.hh extension such as myfile.i.hh used for in a C++ project?

    1 project | /r/cpp_questions | 11 May 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 9 Feb 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Mathematic projects in C++? This list will help you:

# Project Stars
1 C-Plus-Plus 31,194
2 GLM 9,588
3 root 2,772
4 casadi 1,822
5 MathParser.org-mXparser 915
6 ExprTK 712
7 muparser 440
8 fplll 332
9 cadabra2 232
10 AlgoPlus 186
11 euler-fluid-cpp 96
12 fixed_math 70
13 theoretica 23
14 Knots 17
15 tomorrow 10
16 OpenGL-Particle-Motion 9
17 EUL 6
18 emel-lang 5
19 quadelect 3
20 mandelbrotpp 2
21 Socrates 2
22 My-Hello-World-first-code- 0

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C++ is
the 7th most popular programming language
based on number of references?