3 ms·
Is the python code missing a square root? https://github.com/mdmaas/julia-numpy-fortran-test/blob/main/test.py https://github.com/mdmaas/julia-numpy-fortran-te
by aimor 5y ago
Is the python code missing a square root?
https://github.com/mdmaas/julia-numpy-fortran-test/blob/main/test.py https://github.com/mdmaas/julia-numpy-fortran-test/blob/main...
For fun I ran in Matlab with a 2.9 GHz i7-7820HQ and get about 1.83s for N=10,000 single threaded.
A = exp((k*1i)*sqrt(a.^2 + (a.^2)'))