Our own parallelized NumPy library for CPS 376 - Parallel Computing using pybind11.
To compile worseNumPy.cpp use the following command:
c++ -O3 -Wall -shared -std=c++11 -fopenmp -fPIC $(python3 -m pybind11 --includes) WorseNumPy.cpp -o WorseNumPy$(python3-config --extension-suffix)
- worseNumPy.cpp is our parallelized matrix library
- matrixTiming.py and arrayTiming.py demonstrate the runtime of each method with different cores as well as the runtime of NumPy performing the same operations
- worseNumPyDemonstration.py demonstrates how this library can be used.