The program compute the following operations: matrix addition, matrix multiplication by a constant, matrix multiplication by another matrix, transposition along the main diagonal, the side diagonal, ...
a = MatrixReader(args.a).read_matrix(num_rows=rows_per_proc, close=False) b = MatrixReader(args.b).read_matrix(num_rows=rows_per_proc, close=False) for to_proc in ...