This file builds on the excellent code written by Patrick Pampo in Array Axis Summations.ipynb. The following additions/enhancements/modifications have been made:
1) Matrix, times, sums, and time lists are printed for the first 5 iterations to explicitly show what the code is doing.
2) The original code computes data only for 'Even' matrices. I have expanded the code to include data for 'Odd' matrices as well to see if the 'parity' plays any role in the computing time.
3) The original file produces 2 fits, one each for the column and row summation data for the 'Even' matrices. Since I have included the 'Odd' matrices as well, the enhanced code produces 4 fits overlayed to inspect any 'parity' dependence in the computation time.
4) I also combine the 'Odd' and 'Even' times together by averaging them to preserve the 1:1 correspondence with N_values and generate a grand plot with 2 fit curves, one each for the two cases.
This file builds on the excellent code written by Patrick Pampo in Array Axis Summations.ipynb. The following additions/enhancements/modifications have been made:
1) Matrix, times, sums, and time lists are printed for the first 5 iterations to explicitly show what the code is doing.
2) The original code computes data only for 'Even' matrices. I have expanded the code to include data for 'Odd' matrices as well to see if the 'parity' plays any role in the computing time.
3) The original file produces 2 fits, one each for the column and row summation data for the 'Even' matrices. Since I have included the 'Odd' matrices as well, the enhanced code produces 4 fits overlayed to inspect any 'parity' dependence in the computation time.
4) I also combine the 'Odd' and 'Even' times together by averaging them to preserve the 1:1 correspondence with N_values and generate a grand plot with 2 fit curves, one each for the two cases.