acb_mzeta_madelung_nacl
Synopsis
#include <flint/acb_mzeta.h>Sets res to the Madelung constant of sodium chloride,
computed as by acb_mzeta_epstein_gram_shell, which here reduces to Crandall's expansion [Cra1999, eq. (1.2)] as an alternating sum of times complementary error functions and a power series in with coefficients ; see The Madelung constant. The computation is parallel with up to flint_get_num_threads() threads, and the result does not depend on the number of threads.
References#
- [Cra1999] R. E. Crandall, "New representations for the Madelung constant", Experimental Mathematics 8 (1999), 367-379
Cite this page
The FLINT team, “acb_mzeta_madelung_nacl (acb_mzeta.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_mzeta/acb_mzeta_madelung_nacl.html (generated 2026-11-07).
@misc{flint-doc-acb-mzeta-acb-mzeta-madelung-nacl,
author = {{The FLINT team}},
title = {{acb\_mzeta\_madelung\_nacl (acb\_mzeta.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_mzeta/acb_mzeta_madelung_nacl.html},
note = {Generated 2026-11-07}
}