Question: **********CODE SHOULD BE IN C++************ Please make a function for the following Matrix Operations: (Addition, Subtraction, Multiplication, Determintant, Transpose, and Inverse For each of the
Please make a function for the following Matrix Operations: (Addition, Subtraction, Multiplication, Determintant, Transpose, and Inverse For each of the operations above, please also make a function for inputting and displaying the matrices in Row-Order Format. six functions will be for operations and two will be for inputting and displaying data. -For Addition, Subtraction, Multiplication, and Transpose, it can be any size 2D array (say Max size for both row and column 10). In order to prevent users from entering 100 (for a 10 by 18 matrix) elements each tine even for a smaller natrix), you should ask for the number of rows and columns in the matrix before the matrix element values are entered by the user. person should be able to input for example a 2x3, 4x2, or 9x9 matrix. In the case the operation is not supported (ex. adding 2 arrays of different dimensions), print out that the operation is not supported and return to menu. -For Determinant and Inverse operations, you only need to do a fixed dimension of 3x3. For any matrix that is not is not 3x3, you do not need to calculate the determinant and inverse operations (the function can only check to see if the matrix is not 3x3. If so, just print out that the operation is not supported). You should have a menu in the main function where you will ask the user which of the operations he or she wants to perform cout > choice; You should have a switch network after taking the choice value to choose which function (for matrix operation) you need to call
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
