Description
Matrix implemented as a graph, specially for the use case when it should be auto expanding at custom rate, specially in simulations.
It is a header-only library, and utilises graphs internally. Relies heavily on templates, though if you use it the wrong way, it will be a one line compile error instead of deep errors into standard library code, in most cases.
Usage is pretty simple, the docs are brief and to the point, get started with auto expansion, in just 2 lines, stable API as tested with unit tests, put in the repo itself.
Though `special usecase` is auto expanding, even if you just need a 3D matrix, there won't be overhead for what you aren't using, can be accessed just like a 3D vector, arr[i][j][k] === arr[{i, j, k}]
GraphMat alternatives and similar libraries
Based on the "Data Structures" category.
Alternatively, view graphMat alternatives based on common mentions on social networks and blogs.
-
libsrt
libsrt is a C library for writing fast and safe C code, faster. It provides string, vector, bit set, set, map, hash set, and hash map handling. Suitable for soft and hard real-time. Allows both heap and stack allocation. *BETA* (API still can change: suggestions are welcome) -
ordered-map
C++ hash map and hash set which preserve the order of insertion -
Ygg
An intrusive C++17 implementation of a Red-Black-Tree, a Weight Balanced Tree, a Dynamic Segment Tree and much more!
Collect and Analyze Billions of Data Points in Real Time
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of GraphMat or a related project?