Math/Matrix Operations.cpp
// Constructor that creates an empty matrix
Constructor that creates an empty matrix
Constructor that creates an empty matrix
matrix(int r, int c)
    {
        this -> r = r;
        this -> c = c;
        for(int i = 1; i <= r; i++)
        {
            for(int j = 1; j <= c; j++)
            {
                m[i][j] = 0;
            }
        }
    }
matrix ( int r , int c ) { this -> r = r ; this -> c = c ; for ( int i = 1 ; i <= r ; i ++ ) { for ( int j = 1 ; j <= c ; j ++ ) { m [ i ] [ j ] = 0 ; } } }
Constructor that creates an empty matrix
Constructor that creates an empty matrix