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

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

  • CGal

    The public CGAL repository, see the README below

  • ceres-solver

    A large scale non-linear optimization library

    Project mention: The Elements of Differentiable Programming | news.ycombinator.com | 2024-03-22

    I can't reply to the guy saying julia is the only one. But there are others.

    Ceres uses dual numbers

    https://github.com/ceres-solver/ceres-solver/blob/master/inc...

    This library from google is used everywhere in robotics, so it's hardly some backwater little side project.

    So does c++ autodiff

  • 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: The Sieve of Atkin | news.ycombinator.com | 2024-03-11

    This is a fascinating Q&A where user GordonBGood analyzes the performance of the Sieve of Atkin and compares it to that of Eratosthenes with a view to practical implementations.

    The fast prime generator project primesieve is also relevant: https://github.com/kimwalisch/primesieve

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

  • 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

  • Wykobi

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

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

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

  • SaaSHub

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

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-03-22.

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,572
2 QuantLib 4,753
3 CGal 4,481
4 ceres-solver 3,552
5 Vc 1,405
6 symengine 1,079
7 primesieve 897
8 GamePhysicsCookbook 781
9 Klein 727
10 rtm 663
11 gcem 590
12 ExprTK 558
13 XaoS 476
14 hlslpp 446
15 muparser 384
16 primecount 302
17 safe_numerics 206
18 Boost.Multiprecision 174
19 Wykobi 158
20 Sand-Table 158
21 AE_tl_math 119
22 maths 97
23 FastAD 92
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com