/matrix-elementary-operations

Performing elementary row or column operations on a matrix on the instructions of the user and printing the steps to a text file. A bonus identity matrix can also be used if the user wants to carry out operations to find an inverse.

Primary LanguageC++GNU Affero General Public License v3.0AGPL-3.0

Matrix Elementary Operations

This program performs elementary operations on the square matrix, both provided by the user. Also outputs to a file.

Users can also perform the same on an elementary matrix if they want. Particularly useful when finding inverses using operations.

NOTE : This is not an automatic inverse finder!

Compilation Build Status

g++ -std=c++14 Print/help.cpp Print/print_matrix.cpp Row/row_op.cpp Column/column_op.cpp matrix-main.cpp -o matrix_elementary_operations

(C++14 because of the date-time library used. The codebase itself is compatible with C++17.)

Use

./matrix_elementary_operations

Run with -h for help ./matrix_elementary_operations -h

You can find your operations, along with matrices, logged in a text file named Matrix [YY/MM/DD] [HH:MM:SS].txt. Time is in UTC.

Used Howard Hinnant's free, open-source header-only datetime library for date and time. It is available as Print/date.h in this repository.