sashabii / ELEN4020_Lab3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions in running our code:

Algorithm I

Edit the Algorithm1.py file and set variables matrixFile1 and matrixFile2 on lines 10 & 11 to the file names containing the matrices you wish to multiply, <fileX.txt> and <fileY.txt>.

To run, execute the following command:

python Algorithm1.py <fileX.txt> <fileY.txt>

Algorithm II

Edit the Algorithm2.py file and set variables matrix1 and matrixFile2 in lines 6 & 7 to the file names containing the matrices you wish to multiply, <fileX.txt> and <fileY.txt>.

To run, execute the following command:

python Algorithm2.py <fileX.txt> <fileY.txt>

NB:
MrJob must be installed before running either processes.

About


Languages

Language:TeX 74.9%Language:Python 25.1%