Back to problems

Matrix Transpose and Multiplication Speed Benchmark

Algorithm · Intuit · Medium

Create a command-line program that can transpose matrices and multiply each matrix by itself. It must support matrices classified as small, medium, large, or huge, and its runtime should be compared with the baseline performance of the NumPy library. Input: Invoke the program as ./program small_N medium_N large_N huge_N < matrices.txt, where the four arguments are the values of N for the small, medium, large, and huge matrices, respectively. Provide matrix entries in…

Checking your access…