-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
Description
def l(self, s):
"""
Evaluates the Dirichlet L-function of this character at the given
complex number s.
>>> from flint import showgood
>>> chi = dirichlet_char(1, 1)
>>> showgood(lambda: chi.l(2), dps=25)
1.644934066848226436472415
>>> chi = dirichlet_char(7, 3)
>>> showgood(lambda: chi.l(2+3j), dps=25)
1.273313649440490751755284 - 0.07432329442559421607102118j
"""
s = any_as_acb(s)
cdef acb v
v = acb.__new__(acb)
acb_dirichlet_l((<acb>v).val, (<acb>s).val, self.G.val, self.val, getprec())
return v
We currently have this function, which triggers the listing error E741 ambiguous variable name 'l'
. I think we could probably call this dirichlet_l
to match Flint, or l_function
? I'm not sure what other people think so I've made this issue to discuss.