1 | initial version |
Use the map and lambda operators.
dlist = range(1, n+1, 2)
map(lambda d: EllipticCurve([0,0,0,-(d^2),0]).lseries().dokchitser()(1), dlist)
2 | No.2 Revision |
3 | No.3 Revision |
Use the map and lambda operators.
dlist = range(1, n+1, 2)
map(lambda d: EllipticCurve([0,0,0,-(d^2),0]).lseries().dokchitser()(1), dlist)
If it gets too complicated, then use a python function instead of the lambda
so that the code retains readability.