Performs operations and calculations on matrices.
-
Multiplies 2 matrices entered by the user and prints the resulting matrix to the screen.
-
- It performs addition with 2 matrices entered by the user and prints the sum of these matrices on the screen.
- It performs subtraction with 2 matrices entered by the user and prints the difference of these matrices on the screen.
-
Finds the transpose matrix of the entered matrix.
-
Creates a identity matrix of the desired size.
-
Calculates the determinant of the entered matrix.
-
A = {{a, b,}, {c, d}}
det(A) = ad - bcCalculates the determinant using the method above.
-
Calculates the determinant using the cofactor expansion method.
-
-
Calculates the trace of the matrix and prints it to the screen.
-
Square matrices whose symmetric elements are equal to each other with respect to their main diagonal are called symmetric matrices.
This program checks whether the matrix is symmetric or not and gives the result as screen output.
-
Multiplies a matrix by a scalar number and prints the result to the screen.
-
Depending on the selection, all three elementary row operations can be performed on the entered matrix and the result is printed on the screen.
Elementary Row Operations:
- Exchange any two rows.
- Multiply any row by a constant.
- Add a multiple of one row to another row.