Main Page Assignment 01 Assignment 02 Assignment 03 Assignment 04 Assignment 05 Assignment 06 Assignment 07 Assignment 08 Assignment 09 Assignment 10 Assignment 11 Assignment 12 Assignment 13 Coding rules (pdf) Sample code Prob: Set 1 Prob: Set 2 Compiler options Submission Forum Teaching Assistants Links Trivia
Demonstrate program that reads matrices A & B and computes C:
a. C = A - 2B b. C = 5AB c. C = ( ie, ci = < ai,j >j (or) arithmetic mean of i th row). d. Find if the 2-D arrays are being stored in row-major or column-major order using GNU debugger (see Links section). Cut-and-paste the output from the debugger into the mail along with the code.
PS: The program should be coded in both C and C++.