Project: Numeric Matrix Processor
In this stage, you should write a program that:
- Reads matrix A from the input.
- Reads matrix B from the input.
- Outputs their sum if it is possible to add them. Otherwise,
it should output the
ERROR
message.
Each matrix in the input is given in the following way: the first line contains the number of rows n and the number of columns m. Then n lines follow, each containing m integers representing one row of the matrix.
Output the result in the same way but don't print the dimensions of the matrix.
Write a program that reads a matrix and a constant and outputs the result of their multiplication.
Write a program that does the following:
- Prints a menu consisting of 4 options and reads the user's choice.
- Reads all data (matrices, constants) needed to perform the chosen operation.
- Calculates the result and outputs it.
- Repeats all these steps until the
"Exit"
option is chosen.
- Add an option to transpose matrices.
- If the user chooses this option, program should provide them with 4 types of transposition and ask them to choose one.
- Then it should read the matrix, transpose it, and output the result.
- Youtube: Minors and Cofactors
- Add support calculating the determinant of a matrix.
- Youtube: Inverse of a Matrix
- Youtube: Inverse of a 2x2 Matrix using Adjoint
- Youtube: Inverse of a 3x3 Matrix using Adjoint
- Add support finding the inverse of a matrix
- Implement a method that prints a matrix in a readable way so that every column is correctly aligned and all elements are rounded to a fixed number of digits.