Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

**********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

**********CODE SHOULD BE IN C++************ image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

What is the relevant range and why is it important?

Answered: 1 week ago