Skip to content

Add more math libraries#1851

Open
joneqdaniel wants to merge 1 commit into
fffaraz:masterfrom
joneqdaniel:master
Open

Add more math libraries#1851
joneqdaniel wants to merge 1 commit into
fffaraz:masterfrom
joneqdaniel:master

Conversation

@joneqdaniel
Copy link
Copy Markdown

@joneqdaniel joneqdaniel commented May 26, 2026

add more math libraries:

  • xcmath - xcmath is a modern C++20 header-only linear algebra library providing vec<T, N> and mat<T, R, C> types with a CRTP-based method composition framework.
  • smath - Single-file linear algebra library for C++23.
  • sleef - SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT.
  • petsc - PETSc, the Portable, Extensible Toolkit for Scientific Computation, pronounced PET-see (/ˈpɛt-siː/), is for the scalable (parallel) solution of scientific applications modeled by partial differential equations (PDEs).
  • ctmd - CTMD: Compile-Time Multi-Dimensional matrix library.
  • Terathon-Math-Library - C++ math library for 2D/3D/4D vector, matrix, quaternion, and geometric algebra.
  • ITK - Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
  • vxl/vnl - A multi-platform collection of C++ software libraries for Computer Vision and Image Understanding. Numerics Library.
  • oneMath - oneAPI Math Library (oneMath)
  • eve - Expressive Vector Engine - SIMD in C++ Goes Brrrr.
  • muparser - muparser is a fast math parser library for C/C++ with (optional) OpenMP support.
  • qhull - Convex hull, Delaunay triangulation, Voronoi diagrams, Halfspace intersection
  • highway - Performance-portable, length-agnostic SIMD with runtime dispatch.
  • version2 - Vector class library, latest version.
  • mr-math - Linear algebra library for computer graphics
  • nicemath - single-header c++ math library.
  • GTSAM - GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.
  • libxsmm - Library for specialized dense and sparse matrix operations, and deep learning primitives.
  • ensmallen - A header-only C++ library for numerical optimization --.
  • bandicoot - Bandicoot: user-friendly C++ library for GPU accelerated linear algebra, integrating with CUDA, OpenCL, Vulkan
  • flint - FLINT (Fast Library for Number Theory)
  • par - single-file C libraries from Philip Allan Rideout
  • kfr - Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON, RISC-V RVV)
  • libsimdpp - Portable header-only C++ low level SIMD library
  • MatX - An efficient C++20 GPU numerical computing library with Python-like syntax.
  • cutlass - CUDA Templates and Python DSLs for High-Performance Linear Algebra
  • MathLib - Cross-platform SSE/AVX/NEON-accelerated math library, coming with a common library to be used in HLSL/C++ code.
  • RTXCR-Geometry-Library - Hair geometry library for RTXCR SDK
  • TrenchBroom/VmLib - Cross-Platform Quake Level Editor C++ Math library
  • Q2RTXPerimental/math - Quake 2 RTX C++ Math library
  • Prey2006/idlib - Prey 2006 SDK integrated with Doom 3 GPL release
  • q321/math - Quake 3 engine C++ Math library
  • chronon/math - Anachronox Quake 2 engine C++ Math Library
  • fakk2-sdk/math - Heavy Metal FAKK 2 SDK fixed to build on modern systems Quake 3 engine C++ math library
  • WiredForWar/machines/mathex - Community fork of Machines: Wired for War C++ math library
  • glsmac/math - Unofficial open-source OpenGL/SDL2 reimplementation of Sid Meier's Alpha Centauri ( + Alien Crossfire ) C++ math library

- [xcmath](https://github.com/xcrtp/xcmath) - xcmath is a modern C++20 header-only linear algebra library providing vec<T, N> and mat<T, R, C> types with a CRTP-based method composition framework.
- [smath](https://github.com/slendidev/smath) - Single-file linear algebra library for C++23.
- [sleef](https://github.com/shibatch/sleef) - SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT.
- [petsc](https://gitlab.com/petsc/petsc/-/edit/release/doc/index.md) - PETSc, the Portable, Extensible Toolkit for Scientific Computation, pronounced PET-see (/ˈpɛt-siː/), is for the scalable (parallel) solution of scientific applications modeled by partial differential equations (PDEs).
- [ctmd](https://github.com/uonrobotics/ctmd/) - CTMD: Compile-Time Multi-Dimensional matrix library.
- [Terathon-Math-Library](https://github.com/EricLengyel/Terathon-Math-Library) - C++ math library for 2D/3D/4D vector, matrix, quaternion, and geometric algebra.
- [ITK](https://github.com/InsightSoftwareConsortium/ITK) - Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
- [vxl/vnl](https://github.com/vxl/vxl/tree/master/core/vnl) - A multi-platform collection of C++ software libraries for Computer Vision and Image Understanding. Numerics Library.
- [oneMath](https://github.com/uxlfoundation/oneMath) - oneAPI Math Library (oneMath)
- [eve](https://github.com/jfalcou/eve/) - Expressive Vector Engine - SIMD in C++ Goes Brrrr.
- [qhull](https://github.com/qhull/qhull) - Convex hull, Delaunay triangulation, Voronoi diagrams, Halfspace intersection
- [highway](https://github.com/google/highway) - Performance-portable, length-agnostic SIMD with runtime dispatch.
- [version2](https://github.com/vectorclass/version2) - Vector class library, latest version.
- [mr-math](https://github.com/4J-company/mr-math/) - Linear algebra library for computer graphics
- [nicemath](https://github.com/nicebyte/nicemath/) - single-header c++ math library.
- [GTSAM](https://github.com/borglib/gtsam) - GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.
- [libxsmm](https://github.com/libxsmm/libxsmm/) - Library for specialized dense and sparse matrix operations, and deep learning primitives.
- [ensmallen](https://github.com/mlpack/ensmallen) - A header-only C++ library for numerical optimization --.
- [bandicoot](https://gitlab.com/bandicoot-lib/bandicoot-code) - Bandicoot: user-friendly C++ library for GPU accelerated linear algebra, integrating with CUDA, OpenCL, Vulkan
- [flint](https://github.com/flintlib/flint) - FLINT (Fast Library for Number Theory)
- [par](https://github.com/prideout/par/) - single-file C libraries from Philip Allan Rideout
- [kfr](https://github.com/kfrlib/kfr) - Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON, RISC-V RVV)
- [libsimdpp](https://github.com/p12tic/libsimdpp/) - Portable header-only C++ low level SIMD library
- [MatX](https://github.com/NVIDIA/MatX) - An efficient C++20 GPU numerical computing library with Python-like syntax.
- [cutlass](https://github.com/NVIDIA/cutlass/) - CUDA Templates and Python DSLs for High-Performance Linear Algebra
- [MathLib](https://github.com/NVIDIA-RTX/MathLib/) - Cross-platform SSE/AVX/NEON-accelerated math library, coming with a common library to be used in HLSL/C++ code.
- [RTXCR-Geometry-Library](https://github.com/NVIDIA-RTX/RTXCR-Geometry-Library/) - Hair geometry library for RTXCR SDK
- [TrenchBroom/VmLib](https://github.com/TrenchBroom/TrenchBroom/tree/master/lib/VmLib) - Cross-Platform Quake Level Editor C++ Math library
- [Q2RTXPerimental/math](https://github.com/PolyhedronStudio/Q2RTXPerimental/tree/master/inc/shared/math/) - Quake 2 RTX C++ Math library
- [Prey2006/idlib](https://github.com/FriskTheFallenHuman/Prey2006) - Prey 2006 SDK integrated with Doom 3 GPL release
- [q321/math](https://github.com/andrei-drexler/q321/blob/main/src/engine/math.h) - Quake 3 engine C++ Math library
- [chronon/math](https://github.com/hogsy/chronon/blob/master/qcommon/include/qcommon/math_vector.h) - Anachronox Quake 2 engine C++ Math Library
- [fakk2-sdk/math](https://github.com/a1batross/fakk2-sdk/blob/master/source/source/qcommon/vector.h) - Heavy Metal FAKK 2 SDK fixed to build on modern systems Quake 3 engine C++ math library
- [WiredForWar/machines/mathex](https://github.com/WiredForWar/machines/tree/dev/src/libdev/mathex) - Community fork of Machines: Wired for War C++ math library
- [glsmac/math](https://github.com/afwbkbc/glsmac/tree/main/src/types) - Unofficial open-source OpenGL/SDL2 reimplementation of Sid Meier's Alpha Centauri ( + Alien Crossfire ) C++ math library
@joneqdaniel joneqdaniel force-pushed the master branch 6 times, most recently from d2016d3 to 594ecb5 Compare May 27, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant