(2順目)
レシピ5.1
NumbaはすでにAnacondにinstallしてあった。
4項での実行時間測定
1 loops, best of 3: 1.17 s per loop
7項での実行時間測定
The slowest run took 5.05 times longer than the fastest. This could mean that an intermediate result is being cached
100 loops, best of 3: 3.33 ms per loop
1.17*1000/3.33=351倍の早さ
complex128というのは複素数、2つの64bit float変数で構成される
NumPyの変数型と思われるがnumbaライブラリーからインポートされている。