Question: C# help, I am having problems trying to do this project and am really confused about how it is supposed to work. I do not

C# help, I am having problems trying to do this project and am really confused about how it is supposed to work. I do not want the exact answer using the same data I have been given but I want to understand how to do this problem. Because of this, I will make up matrices that are of different lengths and do different operations then what is listed in the project.

For this project, I have two files with matrices in them called MatrixOne and MatrixTwo.These files are text files that hold square matrices where the first value specifies the number of rows and the number of columns in the input matrix. After this data, the remaining content of the files is the data in row-major order. For example, the first value is the number of rows and columns such as "3" yields a 3-by-3 matrix. You should use the first value in the files as the size of the square matrix as in the example:

[1 2 3] [4 5 6] [7 8 9] would have data contents 3 3 1 2 3 4 5 6 7 8 9. The elements of the matrix are integers.

After reading the two matrices using any data structure of your choosing

Write MatrixOne to a plain text file called "testfile.outA" and you should also write this result to stdout

Repeat this process with MatrixTwo but call this file "testfile.outB"

Using the matrices above 6A-5B and then write to a file called "testfile.calc"

Finally, transpose vector B and write it to a file called "testfile.transpose"

Here are the matrices I made:

C# help, I am having problems trying to do this project and

am really confused about how it is supposed to work. I do

Since I changed the numbers, the size, and the operations I need to do I would like to see how you would do this problem and then I can see how to apply these concepts to my own problem. Thank you for any possible help!!

A= 2, 4, -2, -1 -4,0, 1,3 -3,5,6,7 8, 9, 10, 11 B= 7, 12, 1, 14 2, 13, 8, 11 16, 3, 10,5 9,6, 15,4 A= 2, 4, -2, -1 -4,0, 1,3 -3,5,6,7 8, 9, 10, 11 B= 7, 12, 1, 14 2, 13, 8, 11 16, 3, 10,5 9,6, 15,4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!