def sympow(self, n, prec): r""" Return `L( Sym^{(n)}(E, \text{edge}))` to ``prec`` digits of precision. INPUT: - ``n`` -- integer - ``prec`` -- integer OUTPUT: - string -- real number to prec digits of precision as a string. .. note:: Before using this function for the first time for a given ``n``, you may have to type ``sympow('-new_data <n>')``, where ``<n>`` is replaced by your value of ``n``. This command takes a long time to run. EXAMPLES:: sage: E = EllipticCurve('37a') sage: a = E.lseries().sympow(2,16) # not tested - requires precomputing "sympow('-new_data 2')" sage: a # not tested '2.492262044273650E+00' sage: RR(a) # not tested 2.49226204427365 """ from sage.lfunctions.sympow import sympow return sympow.L(self.__E, n, prec)
def sympow(self, n, prec): r""" Return $L(\Sym^{(n)}(E, \text{edge}))$ to prec digits of precision. INPUT: n -- integer prec -- integer OUTPUT: string -- real number to prec digits of precision as a string. \note{Before using this function for the first time for a given $n$, you may have to type \code{sympow('-new_data <n>')}, where \code{<n>} is replaced by your value of $n$. This command takes a long time to run.} EXAMPLES:: sage: E = EllipticCurve('37a') sage: a = E.lseries().sympow(2,16) # not tested - requires precomputing "sympow('-new_data 2')" sage: a # not tested '2.492262044273650E+00' sage: RR(a) # not tested 2.49226204427365 """ from sage.lfunctions.sympow import sympow return sympow.L(self.__E, n, prec)