Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For each of the operations (Addition, Subtraction, Multiplication, Determinant, Transpose and Inverse), make a function in addition to two other functions for Inputting and Displaying

For each of the operations (Addition, Subtraction, Multiplication, Determinant, Transpose and Inverse), make a function in addition to two other functions for Inputting and Displaying the Matrices in Row-Order Format. (In total there will be 8 functions: 6 for the operations and 2 functions for inputting and displaying the data.)

For Determinant and Inverse operations, we are giving you the relaxation to choose fixed matrix size of 3X3. (3 rows and 3 column). You do not need to calculate the determinate and inverse operations for any matrix that is not 3x3 (the function can just check to see if the matrix not 3x3. If it is, just print out that the operation is not supported).

I ONLY need the inverse function and how to call it in main. It has to work for a 3x3 matrix. Please show it works

Here is the display,input, det function and the main im using

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

#include iostream #include using namespace std; // input void input (int arr[][10], int row, int col) for (int x e; x row; x++) { for (int y 0; y arr[x][y]; //display matrix void display (int arr][10], int row, int col) cout choice; int r1, c1, r2, c2; int mat1[10][10], mat2[18][10], mat3[10][10]; cout " "; else if (choice 4) cout > rl; cout > cl; if (ri> 10 | c1 > 10) # of columns: "; cout

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

Logidata+ Deductive Databases With Complex Objects Lncs 701

Authors: Paolo Atzeni

1st Edition

354056974X, 978-3540569749

More Books

Students also viewed these Databases questions

Question

6. How do histories influence the process of identity formation?

Answered: 1 week ago