c++ program to manipulate matrices
download main.cpp and run
g++ main.cpp -o gauss
make sure you have g++ latest version installed
Once you run the program, you'll have to enter the matrix dimensions and then its rows
Notice you can either enter integers or fractions (not decimal numbers!!)
The next step is to manipulate the matrix as you'd like.
The accepted commands are:
s {l} {k}
- swaps rows l and km {l} {x}
- multiplies row l by xd {l} {x}
- divides row l by xa {l} {x} {k}
- adds x times row k to row l
After each command, the new matrix will be printed