C++ Linear Algebra

Open-source C++ projects categorized as Linear Algebra

Top 17 C++ Linear Algebra Projects

Linear Algebra
  1. taco

    The Tensor Algebra Compiler (taco) computes sparse tensor expressions on CPUs and GPUs

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains logo
  3. Terathon-Math-Library

    C++ math library for 2D/3D/4D vector, matrix, quaternion, and geometric algebra.

  4. ginkgo

    Numerical linear algebra software package (by ginkgo-project)

  5. kokkos-kernels

    Kokkos C++ Performance Portability Programming Ecosystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels

  6. monolish

    monolish: MONOlithic LInear equation Solvers for Highly-parallel architecture

  7. xtensor-blas

    BLAS extension to xtensor

  8. DLA-Future

    DLA-Future

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. tensorForth

    Forth does tensors, in CUDA.

  11. itpp

    IT++ library mirror/fork. C++ library of mathematical, signal processing and communication classes and functions.

  12. Matrix

    Easy-to-use Scientific Computing library in/for C++ available for Linux and Windows. (by mlcpp)

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

  14. Linear-Algebra

    Educational linear algebra algorithms

  15. bit

    C++ header-only library for working in bit-space/GF(2). (by nessan)

    Project mention: Show HN: Fast Random Library for C++17 | news.ycombinator.com | 2025-06-02

    For a more full featured Xoshiro/Xoroshiro implementation see

    https://github.com/nessan/xoshiro

    Documented at: https://nessan.github.io/xoshiro/

    Handles the full family of these generators featuring arbitrary jump sizes, stream partitioning for parallel applications, and, like this library, a number of convenience sampling methods to shield the casual user from the complexities of using .

    Can be used with a companion `bit` library (https://github.com/nessan/bit) that performs efficient linear algebra and polynomial reduction over GF(2) for those that want to explore some of the mathematics behind these linear generators.

  16. fms_blas

    Lightweight BLAS (and some LAPACK) wrapper.

  17. sk-experiments

    The collection of Srecko Kostic's experiments.

  18. ndvec

    constexpr n-dimensional Euclidean vector

  19. matrix-sized

    Generic matrix with statically known size and bindings to C++ linear algebra libraries (Eigen, Spectra).

  20. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB 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++ Linear Algebra discussion

Log in or Post with

C++ Linear Algebra related posts

  • Improving Documentation in Theoretica

    1 project | dev.to | 11 Nov 2024
  • AMD HIP + Cuda in same program

    3 projects | /r/CUDA | 26 Aug 2022
  • A C/C++ library to manage matrices computations

    1 project | /r/C_Programming | 26 Jan 2022
  • A C/C++ library to manage matrices computations

    1 project | /r/math | 26 Jan 2022
  • A C/C++ library to manage matrices computations

    1 project | /r/Internet | 26 Jan 2022
  • A C/C++ library to manage matrices computations

    1 project | /r/IMadeThis | 26 Jan 2022
  • A C/C++ library to manage matrices computations

    1 project | /r/code | 26 Jan 2022
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →

Index

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

# Project Stars
1 taco 1,321
2 Terathon-Math-Library 972
3 ginkgo 498
4 kokkos-kernels 352
5 monolish 200
6 xtensor-blas 169
7 DLA-Future 77
8 tensorForth 49
9 itpp 40
10 Matrix 34
11 theoretica 28
12 Linear-Algebra 12
13 bit 7
14 fms_blas 3
15 sk-experiments 2
16 ndvec 2
17 matrix-sized 0

Sponsored
Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com

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