write a (single-threaded) program in C that multiplies two square matrices. Report its performance. Your program should have the following characteristics:
- Use double-precision floating-point numbers.
- The matrix size should be compiled in, using a #define for the size.
- It should initialize the matrix with some numbers; I don’t care what they are.
- There should be three matrices; A, B, and C. Multiply C = AB.
- It should measure the time for doing the matrix multiplication. There are several techniques for doing this.
Report the time for multiplying matrices of size 10, 100, 1000, 10000. Report the memory size of the matrices, as well.
Include your source, evidence that the program runs, and a report on this performance. That’s either two or three files. Submit them as a tar file or a zip file.
This is a pretty good explanation of arrays in C, perhaps more info than you need right now:


0 comments