https://github.com/jefftrull/sparsematrixlibraries
Test cases demonstrating different sparse matrix libraries
https://github.com/jefftrull/sparsematrixlibraries
cpp csparse eigen suitesparse
Last synced: 5 months ago
JSON representation
Test cases demonstrating different sparse matrix libraries
- Host: GitHub
- URL: https://github.com/jefftrull/sparsematrixlibraries
- Owner: jefftrull
- License: mit
- Created: 2017-02-05T23:44:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-21T14:45:54.000Z (about 7 years ago)
- Last Synced: 2025-10-12T02:03:58.539Z (5 months ago)
- Topics: cpp, csparse, eigen, suitesparse
- Language: C++
- Homepage:
- Size: 38.1 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage Examples for Sparse Matrix Libraries
As an outgrowth of some debugging I've been doing I made test cases of the same problem with several different libraries:
* [Eigen](http://eigen.tuxfamily.org/dox/group__TutorialSparse.html)
* [CSparse](https://people.sc.fsu.edu/~jburkardt/c_src/csparse/csparse.html)
* [SuiteSparse](http://faculty.cse.tamu.edu/davis/suitesparse.html) with a tiny bit of [KLU](https://pdfs.semanticscholar.org/4fd6/3bec7022dc25d2f8ca2ad6093c7774ef4283.pdf)
It seemed like a good idea to upload these test cases for public reference.
In addition I have used those three different implementations as an example of a Policy pattern,
with the supplied implementations checked against Concepts using either the [Concepts TS](http://en.cppreference.com/w/cpp/language/constraints) or the [Boost Concept Check Library](http://www.boost.org/doc/libs/1_63_0/libs/concept_check/concept_check.htm), depending on compiler support. For details see the code in the `policies/` directory.