CoCalc Shared Filescode / test.sagewsOpen in CoCalc with one click!
Author: Jennifer Balakrishnan
%attach eulerprod.py
K.<phi>=NumberField(x^2 -x-1) E = EllipticCurve(K, [1, phi + 1, phi, phi, 0]) LSeriesEllipticCurveSqrt5(E) L(1)
L-series of Elliptic Curve defined by y^2 + x*y + phi*y = x^3 + (phi+1)*x^2 + phi*x over Number Field in phi with defining polynomial x^2 - x - 1
Error in lines 4-4 Traceback (most recent call last): File "/projects/sage/sage-7.5/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 995, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "./eulerprod.py", line 1295, in __call__ return self._function(prec(s))(s) File "sage/misc/cachefunc.pyx", line 2038, in sage.misc.cachefunc.CachedMethodCaller.__call__ (/projects/sage/sage-7.5/src/build/cythonized/sage/misc/cachefunc.c:10792) w = self._instance_call(*args, **kwds) File "sage/misc/cachefunc.pyx", line 1914, in sage.misc.cachefunc.CachedMethodCaller._instance_call (/projects/sage/sage-7.5/src/build/cythonized/sage/misc/cachefunc.c:10238) return self.f(self._instance, *args, **kwds) File "./eulerprod.py", line 1405, in _function return self._dokchitser(prec, eps, T=T) File "./eulerprod.py", line 1450, in _dokchitser X = self.anlist(n, prec) File "./eulerprod.py", line 1178, in anlist F = self._local_factor(P, prec) File "./eulerprod.py", line 1044, in _local_factor raise NotImplementedError, "must be implemented in the derived class" NotImplementedError: must be implemented in the derived class
norm(E.conductor())
31
d = 2 L = LSeriesAbstract(norm(E.conductor())* K.discriminant()^2, hodge_numbers = [0]*d+[1]*d, weight=2, epsilon=1, poles=[], residues=[], base_field=K)
L
Euler Product L-series with conductor 775, Hodge numbers [0, 0, 1, 1], weight 2, epsilon 1, poles [], residues [] over Number Field in phi with defining polynomial x^2 - x - 1
L.anlist(10)
Error in lines 1-1 Traceback (most recent call last): File "/projects/sage/sage-7.5/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 995, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "./eulerprod.py", line 1178, in anlist F = self._local_factor(P, prec) File "./eulerprod.py", line 1044, in _local_factor raise NotImplementedError, "must be implemented in the derived class" NotImplementedError: must be implemented in the derived class