njanirudh / Matrix-Class

General implementation of matrix class in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matrix Class

A general storage class for Matrix written in C++ along with best practices.
Unit tests written in CTest + Catch2.
See tests/*.cpp to check various functionalities.
Few design and documentation ideas taken from C++ JSON library 'nlohmann-json'.

How to use it?

$ cd <path to project>/Matrix-Class    
$ cd build/    
$ cmake ../    
$ make -j6   
$ cd build/bin/
$ ./Matrix

Standards and Good practices

  1. https://isocpp.org/
  2. https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md

References

  1. https://github.com/akalicki/matrix/blob/master/dist/matrix.cpp
  2. https://web.stanford.edu/dept/cs_edu/cppdoc/Vector-class.html
  3. https://www.quantstart.com/articles/Matrix-Classes-in-C-The-Source-File/
  4. https://stackoverflow.com/questions/4421706/what-are-the-basic-rules-and-idioms-for-operator-overloading/4421719#4421719
  5. https://developer.lsst.io/v/DM-5063/docs/cpp_docs.html
  6. https://stackoverflow.com/questions/55172815/what-is-the-correct-way-to-compile-multiple-test-sources-with-catch2
  7. https://github.com/nlohmann/json

Author

Anirudh NJ
anijaya9@gmail.com
https://github.com/njanirudh

About

General implementation of matrix class in C++


Languages

Language:C++ 99.8%Language:CMake 0.2%