vectormath
Modified version of Sony's open sourced vector and matrix math library. (by glampert)
stdBLAS
Reference Implementation for stdBLAS (by kokkos)
vectormath | stdBLAS | |
---|---|---|
2 | 4 | |
250 | 105 | |
- | 8.7% | |
2.3 | 5.0 | |
about 1 month ago | about 1 month ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vectormath
Posts with mentions or reviews of vectormath.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-14.
-
Vector math library benchmarks (C++)
I actually used that library rather than GLM back in college (specifically this fork) and thought about including it, but it doesn't look like it's been maintained in a long time and seemingly has poor cross platform support (incl for different processor architectures).
-
Which is the best way to work with matrices and linear algebra using c++?
there's also VectorMath but it's SIMD so I don't know how it bodes with robot architectures
stdBLAS
Posts with mentions or reviews of stdBLAS.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-01.
-
Which is the best way to work with matrices and linear algebra using c++?
You can have a look at https://github.com/kokkos/stdBLAS (it's an implementation of the proposed linear algebra extensions for future C++).
-
C++23: Near The Finish Line
It has the same BSD license as Kokkos: https://github.com/kokkos/stdBLAS/blob/main/LICENSE
-
Linear Algebra Library Reccomendations?
The BLAS and LAPACK have C interfaces, and they generally don't allocate memory unless you ask them. (Some BLAS implementations allocate internal storage for rearranging matrix data.) There are a few C++ BLAS wrappers; here is one of them.
-
Is there an OOP-wrapper library for cublas?
The second one is stdBLAS by kokkos. It doesn't even use cuBLAS but it's a reference implementation of P1673. This paper describe what could be a blas API in the std. I would recommend trying to do something equivalent on your side.
What are some alternatives?
When comparing vectormath and stdBLAS you can also consider the following projects:
pinocchio - A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
mdspan - Reference implementation of mdspan targeting C++23