Skip to content

Commit

Permalink
executed
Browse files Browse the repository at this point in the history
  • Loading branch information
meinardmueller committed Oct 4, 2021
1 parent f1e926f commit c7f7245
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion PCP_complex.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@
" "
],
"text/plain": [
"<IPython.lib.display.YouTubeVideo at 0x1ed714a6f48>"
"<IPython.lib.display.YouTubeVideo at 0x19d08562908>"
]
},
"metadata": {},
Expand Down
8 changes: 4 additions & 4 deletions PCP_control.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,9 @@
"Computation with sum_n: n=1000, s=500500\n",
"Computation with sum_n_numpy: n=1000, s=500500\n",
"Computation with sum_n_math: n=1000, s=500500\n",
"Runtime for sum_n: 0.745002 ms\n",
"Runtime for sum_n_numpy: 0.023714 ms\n",
"Runtime for sum_n_math: 0.000369 ms\n"
"Runtime for sum_n: 0.801720 ms\n",
"Runtime for sum_n_numpy: 0.023044 ms\n",
"Runtime for sum_n_math: 0.000312 ms\n"
]
}
],
Expand Down Expand Up @@ -631,7 +631,7 @@
"default: nan\n",
"s='large': 1267650600228229401496703205376\n",
"s='small': 7.888609052210118e-31\n",
"s='random': 0.7876194112775149\n",
"s='random': 0.9201934479692196\n",
"s='test': nan\n"
]
}
Expand Down
10 changes: 5 additions & 5 deletions PCP_dft.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,11 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Runtime (ms) for N = 256 : DFT 23.99, FFT 0.01239, FFT_np 0.00001220\n",
"Runtime (ms) for N = 512 : DFT 31.06, FFT 0.02377, FFT_np 0.00001618\n",
"Runtime (ms) for N = 1024 : DFT 105.50, FFT 0.04329, FFT_np 0.00002411\n",
"Runtime (ms) for N = 2048 : DFT 381.55, FFT 0.08357, FFT_np 0.00004250\n",
"Runtime (ms) for N = 4096 : DFT 1441.13, FFT 0.15967, FFT_np 0.00008037\n"
"Runtime (ms) for N = 256 : DFT 19.22, FFT 0.01186, FFT_np 0.00001728\n",
"Runtime (ms) for N = 512 : DFT 31.76, FFT 0.02365, FFT_np 0.00001604\n",
"Runtime (ms) for N = 1024 : DFT 104.20, FFT 0.03962, FFT_np 0.00002435\n",
"Runtime (ms) for N = 2048 : DFT 376.25, FFT 0.08224, FFT_np 0.00004206\n",
"Runtime (ms) for N = 4096 : DFT 1418.35, FFT 0.15875, FFT_np 0.00007802\n"
]
}
],
Expand Down
6 changes: 3 additions & 3 deletions PCP_numpy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@
" [1. 1. 1.]]\n",
"Evenly spaced values within a given interval: [2 4 6]\n",
"Random values in a given shape: \n",
"[[0.50856662 0.40243786 0.01390166]\n",
" [0.64443722 0.92612633 0.10115522]]\n",
"[[0.01535107 0.6751583 0.8990807 ]\n",
" [0.32712275 0.99270913 0.6752546 ]]\n",
"Identity matrix: \n",
"[[1. 0. 0.]\n",
" [0. 1. 0.]\n",
Expand Down Expand Up @@ -864,7 +864,7 @@
"[16 15 14 6 5 4 0] Type: <class 'numpy.ndarray'>\n",
"[16 15 14 6 5 4 0] Type: <class 'numpy.ndarray'>\n",
"[16 15 14 6 5 4 0] Type: <class 'numpy.ndarray'>\n",
"<reversed object at 0x000001DABD0DDAC8> Type: <class 'reversed'>\n",
"<reversed object at 0x000001EBA39A2048> Type: <class 'reversed'>\n",
"[16, 15, 14, 6, 5, 4, 0] Type: <class 'list'>\n"
]
}
Expand Down
6 changes: 3 additions & 3 deletions PCP_python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"a = [1, 2, 3] , id(a) = 2816546664584\n",
"b = [0, 2, 3, 4] , id(b) = 2816546664584\n",
"a = [0, 2, 3, 4] , id(a) = 2816546664584\n"
"a = [1, 2, 3] , id(a) = 2557061805768\n",
"b = [0, 2, 3, 4] , id(b) = 2557061805768\n",
"a = [0, 2, 3, 4] , id(a) = 2557061805768\n"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion PCP_signal.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@
" "
],
"text/plain": [
"<IPython.lib.display.YouTubeVideo at 0x17cd830d1c8>"
"<IPython.lib.display.YouTubeVideo at 0x25daf845048>"
]
},
"metadata": {},
Expand Down
3 changes: 2 additions & 1 deletion tools/notebook_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
if args.mode == 'execute':
opt = '--ExecutePreprocessor.timeout=3600 --to notebook --execute --inplace'
if args.mode == 'html':
opt = '--to html --template classic'
# opt = '--to html --template classic'
opt = '--to html'

for dirpath, dirnames, filenames in os.walk(args.directory):

Expand Down

0 comments on commit c7f7245

Please sign in to comment.