Electromagnetic multiple scattering library and toolkit.
Bug List
Global ewald3_2_sigma_long_Delta (complex double *target, double *target_err, int maxn, complex double x, int xbranch, complex double z)
The current choice of method, based purely on the value of z, might be unsuitable especially for big values of maxn.
Global ewald3_2_sigma_long_Delta_series (complex double *target, double *target_err, int maxn, complex double x, int xbranch, complex double z)
The error estimate seems to be wrong (too small) at least in some cases: try parameters maxn = 40, z = 0.5, x = -3. This might be related to the exponential growth of the error.