Which is the best way to work with matrices and linear algebra using c++?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • GLM

    OpenGL Mathematics (GLM)

  • stdBLAS

    Reference Implementation for stdBLAS

  • You can have a look at https://github.com/kokkos/stdBLAS (it's an implementation of the proposed linear algebra extensions for future C++).

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

    C++ tensors with broadcasting and lazy computing

  • I use xtensor: https://github.com/xtensor-stack/xtensor

  • xtensor-ros

    ROS (Robot Operating System) bindings for xtensor, the multidimensional linear algebra library

  • xtensor-blas

    BLAS extension to xtensor

  • pinocchio

    A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives

  • Robotics Library (RL)

    The Robotics Library (RL) is a self-contained C++ library for rigid body kinematics and dynamics, motion planning, and control.

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

    Modified version of Sony's open sourced vector and matrix math library. (by glampert)

  • there's also VectorMath but it's SIMD so I don't know how it bodes with robot architectures

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts