|
Epstein Zeta Library 0.5.0
Calculates the Epstein Zeta function
|
Functions | |
| bool | check_madelung () |
Minimal working example for the Epstein Zeta Library. If the library is installed, run with `python lattice_sum.py`.
| bool lattice_sum.check_madelung | ( | ) |
Calculate Madelung constant and compare to precomputed value.
Madelung constant:
sum_{i, j, k in Z} (-1)**(i + j + k) / sqrt(i**2 + j**2 + k**2)
@return true if the difference to precomputed value is smaller than 10**(-14)