C++ Math

Open-source C++ projects categorized as Math

Top 23 C++ Math Projects

  • GLM

    OpenGL Mathematics (GLM)

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

    The QuantLib C++ library

  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • CGal

    The public CGAL repository, see the README below

  • ceres-solver

    A large scale non-linear optimization library

  • Vc

    SIMD Vector Classes for C++

  • symengine

    SymEngine is a fast symbolic manipulation library, written in C++

    Project mention: C++ library for solving EQUATIONS | /r/cpp_questions | 2023-05-24

    SymEngine will do this: https://github.com/symengine/symengine

  • primesieve

    🚀 Fast prime number generator

    Project mention: Primesieve: Fast Prime Number Generator | news.ycombinator.com | 2024-01-13
  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • GamePhysicsCookbook

    Source code for Game Physics Cookbook

  • Klein

    P(R*_{3, 0, 1}) specialized SIMD Geometric Algebra Library

  • rtm

    Realtime Math

    Project mention: Vector math library benchmarks (C++) | /r/GraphicsProgramming | 2023-04-15

    I'm definitely interested in any thoughts you guys may have on the benchmarks, and am definitely open to contributions adding additional benchmarks/vector math libraries! For example, one that I thought about adding but didn't simply because it seems to have fewer game-centric features is RTM.

  • gcem

    A C++ compile-time math library using generalized constant expressions

    Project mention: Challenges creatinga lookup table class that instantiates at compile time and is stored in flash. | /r/cpp_questions | 2023-06-19

    If you have time, try something like this https://github.com/kthohr/gcem

  • ExprTK

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

  • XaoS

    Real-time interactive fractal zoomer

    Project mention: Julia and Mojo (Modular) Mandelbrot Benchmark | news.ycombinator.com | 2023-09-08

    https://github.com/xaos-project/XaoS is still awesome but could really use a GPU backend :)

  • hlslpp

    Math library using hlsl syntax with SSE/NEON support

  • muparser

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

  • primecount

    🚀 Fast prime counting function implementations

  • safe_numerics

    Replacements to standard numeric types which throw exceptions on errors

  • Boost.Multiprecision

    Boost.Multiprecision

  • Sand-Table

    An open-source platform for building DIY sand tables (like the Sisyphus or ZenXY)

    Project mention: Update to my ESP32 Sand Plotter Build | /r/esp32 | 2023-04-29

    I was about to start trying to recreate this using an esp32 instead but this project looks way easier.

  • Wykobi

    Wykobi C++ Computational Geometry Library https://www.wykobi.com

  • AE_tl_math

    An After Effect plugin to code in GLSL directly inside After Effect or to write math expressions to code your own filter

  • maths

    Linear algebra library with vector swizzling, intersection tests and useful functions for games and graphics dev.

  • FastAD

    FastAD is a C++ implementation of automatic differentiation both forward and reverse mode.

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

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). The latest post mention was on 2024-01-24.

C++ Math related posts

Index

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

Project Stars
1 GLM 8,464
2 QuantLib 4,660
3 CGal 4,411
4 ceres-solver 3,486
5 Vc 1,387
6 symengine 1,062
7 primesieve 890
8 GamePhysicsCookbook 750
9 Klein 714
10 rtm 640
11 gcem 565
12 ExprTK 552
13 XaoS 468
14 hlslpp 442
15 muparser 377
16 primecount 301
17 safe_numerics 206
18 Boost.Multiprecision 171
19 Sand-Table 158
20 Wykobi 150
21 AE_tl_math 118
22 maths 97
23 FastAD 89
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com