|
Epstein Zeta Library 0.5.0
Calculates the Epstein Zeta function
|


Public Member Functions | |
| None | compare_epstein_zeta_with_ref (self, NDArray[np.float64] a, NDArray[np.float64] x, NDArray[np.float64] y, Callable[[float], float] epstein_zeta_ref_func) |
| None | test_epstein_zeta_00_mhalfmhalf_id (self) |
| None | test_epstein_zeta_m1m1_halfhalf_id (self) |
| None | test_epstein_zeta_m1m1_half0_id (self) |
| None | epstein_zeta_onehalf0sqrt3half_00_00 (self) |
| None | test_epstein_zeta_diag2sqrt242_0m1m1_4sqrt2th00 (self) |
| None | test_epstein_zeta_half000_0000_id (self) |
| None | test_singularity (self) |
| None | test_no_singularity_in_reg (self) |
Public Attributes | |
| threshold | |
Static Public Attributes | |
| tuple | offset |
| float | stepsize = 0.1 |
| NDArray | nu_values |
| float | threshold = 2 * 10 ** (-13) |
Unit test class for testing the Epstein Zeta function by comparison to analytic representations in special cases.
| None test_epsteinlib.TestEpsteinZeta.compare_epstein_zeta_with_ref | ( | self, | |
| NDArray[np.float64] | a, | ||
| NDArray[np.float64] | x, | ||
| NDArray[np.float64] | y, | ||
| Callable[[float], float] | epstein_zeta_ref_func ) |
Test the Epstein Zeta function and the regularized Epstein Zeta
function for a range of nu values by comparing with a reference
function.
Raises:
AssertionError: If the error between the computed and Reference
values exceeds the threshold.
| None test_epsteinlib.TestEpsteinZeta.epstein_zeta_onehalf0sqrt3half_00_00 | ( | self | ) |
Test the Epstein Zeta function for the case where x=[1/2,0,0,0], y=[0,0,0,0], and a= [[1, 1/2], [0, sqrt(3)/2]].
| None test_epsteinlib.TestEpsteinZeta.test_epstein_zeta_00_mhalfmhalf_id | ( | self | ) |
Test the Epstein Zeta function for the case where x=[0,0], y=[-1/2,-1/2], and a is the identity matrix.
| None test_epsteinlib.TestEpsteinZeta.test_epstein_zeta_diag2sqrt242_0m1m1_4sqrt2th00 | ( | self | ) |
Test the Epstein Zeta function for the case where x=[0,-1,-1], y=[1/4*sqrt(2),0,0], and a=diag(2*sqrt(2),4,2).
| None test_epsteinlib.TestEpsteinZeta.test_epstein_zeta_half000_0000_id | ( | self | ) |
Test the Epstein Zeta function for the case where x=[1/2,0,0,0], y=[0,0,0,0], and a is the identity matrix.
| None test_epsteinlib.TestEpsteinZeta.test_epstein_zeta_m1m1_half0_id | ( | self | ) |
Test the Epstein Zeta function for the case where x=[-1,-1], y=[1/2,0], and a is the identity matrix.
| None test_epsteinlib.TestEpsteinZeta.test_epstein_zeta_m1m1_halfhalf_id | ( | self | ) |
Test the Epstein Zeta function for the case where x=[-1,-1], y=[1/2,1/2], and a is the identity matrix.
| None test_epsteinlib.TestEpsteinZeta.test_no_singularity_in_reg | ( | self | ) |
Test if the Epstein Zeta function returns nan for singularity case.
| None test_epsteinlib.TestEpsteinZeta.test_singularity | ( | self | ) |
Test if the Epstein Zeta function returns nan for singularity case.
|
static |
|
static |