This GitHub repository contains the Cython demo code for my MATH 608 project.
Before running the code, ensure that the Cython compiler is installed on your machine.
-
Build the Extension Module
- For macOS/Linux users:
python setup.py build_ext --inplace -i
- For Windows users:
python setup.py build_ext --inplace -i --compiler=mingw32 -DMS_WIN64
- For macOS/Linux users:
-
Test the Runtime Performance
Run the script to test the runtimes using the following command:python test_runtime.py