I need to create a matrix calculator. The calculator will be able to:
* read in matrices (from a file)
* perform operations on those matrices (as specified in the file)
* display the results and write the results to a file
The operations we will be performing include:
* matrix addition
* matrix multiplication
* calculating the determinant of a matrix
* calculating the transpose of a matrix
Input File
A file will be organized as follows
#matrices specified in the file
first_matrix_#rows first_matrix_#columns
first_matrix
second_matrix_#rows second_matrix_#columns
second_matrix
.
.
.
operations_until_eof
so the following would be an example of the file, like
4
2 3
1 2 3
4 5 6