pi_riemann_benchmark_linux 実行例

help出力 pi_riemann_benchmark_linux.py --help

usage: pi_riemann_benchmark_linux.py [-h] [--nmax NMAX] [--repeat REPEAT]
                                     [--methods {all,for,generator,listcomp,numpy,numba,cupy} [{all,for,generator,listcomp,numpy,numba,cupy} ...]]

Benchmark midpoint-Riemann integration of sqrt(1-x^2) on [0, 1]. The exact
integral is pi/4, so each method reports pi = 4 * I and its error. Optional
methods (NumPy, Numba and CuPy) are skipped when unavailable.

options:
  -h, --help            show this help message and exit
  --nmax NMAX           number of midpoint samples (default: 1000000)
  --repeat REPEAT       timed repetitions per method (default: 3)
  --methods {all,for,generator,listcomp,numpy,numba,cupy} [{all,for,generator,listcomp,numpy,numba,cupy} ...]
                        methods to run (default: all)


生成されたデータファイル

(データファイルが見つかりませんでした)

生成された画像一覧

(画像ファイルが見つかりませんでした)