Table 2: Computation times for the power of 2 optimized grid size.

Direct COCG COCR COCG-FFT COCR-FFT
#dipoles MATLAB C++ (Armadillo) MATLAB C++ (Armadillo) MATLAB C++ (Armadillo) MATLAB C++ MATLAB C++
Armadillo FFTW Armadillo FFTW

4225 1.7129 31.7440 0.6444 0.5555 0.6461 0.5836 0.7637 0.5689 0.2746 0.5785 0.5366 0.2758