SDS - Python - Implementation Example
The Python implementation example is located in the file directory lang/python.
Three different computational methods for polynomial multiplication are provided:
- fft: Fast Fourier transform,
- numpy:
numpy.polynomialpackage, - simple: simple multiplication of all monomials.
For Python, the run_demo script supports the following processing variants:
| Action | Method | Setup | Remark |
|---|---|---|---|
| complete | yes / no | data & fft & numpy & simple & ... | |
| complete_python | yes / no | data & fft & numpy & simple | |
| data | yes / no | ||
| python | fft | yes / no | |
| python | numpy | yes / no | |
| python | simple | yes / no |
The setup parameter controls the creation of a virtual environment.