Skip to content
c++ Matrix class
Branch: master
Clone or download
Latest commit a82fee3 Mar 30, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Summing issue fixed Sep 9, 2018
LICENSE Update Mar 30, 2019
main.cpp Update main.cpp Jun 15, 2018


Matrix is a two-dimensional data structure with an easy to use and smart implementation with array operators and debug tools like dumping objects and supporting mathematics operators.

The idea comes from returning two-dimensional arrays from functions that is a boring proccess. Matrix also supports associative arrays to prevent using extra libraries like std::map for some needings. Matrix library can be used to store data on the ram because of its table based data structure and table operation supports. And more huge feature can be found in the documention.

Installation and configure

Installation and configure is pretty easy, just clone header file located in dist/Matrix.h and add it to your project like:

#include "Matrix.h"

Getting started

Usage of Matrix is very easy and more similar to c++ arrays.

Matrix<int> mat(3, 2);
mat[0][0] = 2;
mat[0][1] = 23;
mat[1][0] = 0;
mat[1][1] = -6;
mat[2][0] = 10;
mat[2][1] = 67;

cout << "Matrix[0][1] is " << mat[0][1];


You can read the documention here.

You can’t perform that action at this time.