Saturday, October 22, 2011

Multiplication of two very large matrices: python program

Given program reads Matrix A and B from these locations:

loc1="C:\Python32\matrixA.csv"
loc2="C:\Python32\matrixB.csv"

and writes the product matrix in this location:

loc2write="C:\Python32\matrixF.csv"

If locations are different in your case, change these variables in the source code.

Files:
Python code
Sample Matrix A
Sample Matrix B

No comments: