C++ Mathematics

Open-source C++ projects categorized as Mathematics

Top 18 C++ Mathematic Projects

  • C-Plus-Plus

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

  • GLM

    OpenGL Mathematics (GLM)

  • Project mention: Release of GLM 1.0.0 | news.ycombinator.com | 2024-01-24
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • root

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

  • Project mention: If you can't reproduce the model then it's not open-source | news.ycombinator.com | 2024-01-17

    I think the process of data acquisition isn't so clear-cut. Take CERN as an example: they release loads of data from various experiments under the CC0 license [1]. This isn't just a few small datasets for classroom use; we're talking big-league data, like the entire first run data from LHCb [2].

    On their portal, they don't just dump the data and leave you to it. They've got guides on analysis and the necessary tools (mostly open source stuff like ROOT [3] and even VMs). This means anyone can dive in. You could potentially discover something new or build on existing experiment analyses. This setup, with open data and tools, ticks the boxes for reproducibility. But does it mean people need to recreate the data themselves?

    Ideally, yeah, but realistically, while you could theoretically rebuild the LHC (since most technical details are public), it would take an army of skilled people, billions of dollars, and years to do it.

    This contrasts with open source models, where you can retrain models using data to get the weights. But getting hold of the data and the cost to reproduce the weights is usually prohibitive. I get that CERN's approach might seem to counter this, but remember, they're not releasing raw data (which is mostly noise), but a more refined version. Try downloading several petabytes of raw data if not; good luck with that. But for training something like a LLM, you might need the whole dataset, which in many cases have its own problems with copyrights…etc.

    [1] https://opendata.cern.ch/docs/terms-of-use

    [2] https://opendata.cern.ch/docs/lhcb-releases-entire-run1-data...

    [3] https://root.cern/

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

  • Project mention: pyomo VS casadi - a user suggested alternative | libhunt.com/r/pyomo | 2023-09-05

    Interface for several solvers and integrators.

  • ExprTK

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

  • muparser

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

  • fplll

    Lattice algorithms using floating-point arithmetic

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cadabra2

    A field-theory motivated approach to computer algebra.

  • euler-fluid-cpp

    Euler fluid simulated with CPP and SFML

  • Knots

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

  • tomorrow

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

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

  • Project mention: I made a project that simulates the motion of electrons and protons using Coulomb's Law. The simulation is visually represented on-screen using OpenGL. | /r/physicsgifs | 2023-08-03
  • emel-lang

    The Emel programming language, a language for solving math problems

  • 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)

  • Algorithms

    A collection of data structures and algorithms written in C++ with comments and links to further reading. (by ashleymays)

  • quadelect

    Voting method exploration/simulation tool

  • mandelbrotpp

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

  • Project mention: My first project in C++23, an SDL Mandelbrot set visualizer. Any suggestion is welcome! (Look at the releases to learn more) | /r/cpp | 2023-07-25
  • Seperating-kids-from-fighting-in-group-size-N

    This function lists the permutations in which from the first arrangement, no student fights the same pair of students twice

  • 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 related posts

Index

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

Project Stars
1 C-Plus-Plus 29,048
2 GLM 8,653
3 root 2,418
4 casadi 1,549
5 ExprTK 566
6 muparser 391
7 fplll 291
8 cadabra2 215
9 euler-fluid-cpp 77
10 Knots 12
11 tomorrow 11
12 OpenGL-Particle-Motion 9
13 emel-lang 6
14 EUL 6
15 Algorithms 3
16 quadelect 2
17 mandelbrotpp 2
18 Seperating-kids-from-fighting-in-group-size-N 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com