def assert_degree_1(self, k):
     es = eisenstein_series_qexp(k, prec=11, normalization="constant")
     es1 = sess(weight=k, degree=1)
     self.assertTrue(all(es[a] == es1.fourier_coefficient(matrix([[a]]))
                         for a in range(11)))
Exemplo n.º 2
0
 def assert_pullback_m_1(self, k, A1, prec=10):
     f0 = eisenstein_pullback_coeff(k, A1, diagonal_matrix([0]))
     f = eisenstein_series_qexp(k, prec=prec, normalization='constant') * f0
     for a in range(prec):
         self.assertEqual(f[a],
                          eisenstein_pullback_coeff(k, A1, diagonal_matrix([a])))