Cpp, Numerical Methods, Programming.
and compute the mean timing. Here is the performance comparison between them with a grid of 200*200 and using double precision (all benchmarks are run on the 2018 macbook pro 13" — 2.3 GHz Quad-Core Intel Core i5 and the code for the benchmark repository is linked at the bottom of this article)