https://github.com/chloro-pn/pnmatrix
a matrix library for solving linear equations based on c++17.
https://github.com/chloro-pn/pnmatrix
cplusplus-17 gmres linear-equation-solver sparse-matrix
Last synced: 4 months ago
JSON representation
a matrix library for solving linear equations based on c++17.
- Host: GitHub
- URL: https://github.com/chloro-pn/pnmatrix
- Owner: chloro-pn
- License: mit
- Created: 2020-01-26T08:06:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T09:50:20.000Z (over 5 years ago)
- Last Synced: 2025-01-16T10:05:52.909Z (5 months ago)
- Topics: cplusplus-17, gmres, linear-equation-solver, sparse-matrix
- Language: C++
- Homepage:
- Size: 166 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pnmatrix
a library for solving linear equations based on c++11.support:
* Gmres-m.
* Jacobi iteration.
* Gauss-seidel iteration.
# license
Use of this code is governed by a MIT license that can be found in the License file.# build
pnmatrix is a header-only library, so you can just copy the include folder to your project or add include to your project's include_path.# test and example
pnmatrix uses Catch2(v2.11.1) for unit test, which you can find in : https://github.com/catchorg/Catch2.
You can use CMake to build test and example executables:
```
mkdir build
cd build
cmake ..
make
```
Then you can find executables in folder build/bin. Try to execute them:)
```
cd bin
./pnmatrix_example
./pnmatrix_test
```
you can find source code in folder examples and test