pyodide/benchmark/benchmarks/fft.py

9 lines
168 B
Python
Raw Normal View History

2018-10-03 12:38:48 +00:00
#setup: N = 2**11 ; import numpy ; a = numpy.array(numpy.random.rand(N), dtype=complex)
2018-04-05 22:07:33 +00:00
#run: fft(a)
#pythran export fft(complex [])
2018-10-03 12:38:48 +00:00
import numpy as np
2018-04-05 22:07:33 +00:00
2018-10-03 12:38:48 +00:00
fft = np.fft