limit_seq looks like it is an internal function for the series module. I'm not sure why it's exposed to the public API. Maybe Sartaj can comment. The function you want is limit((-1)**n/n, n, oo). Unfortunately, that doesn't seem to work (it gives NotImplementedError).
Aaron Meurer On Fri, Nov 4, 2016 at 2:10 AM, Frunobulax <[email protected]> wrote: > Hello everyone, > > I would have expected that the following code returns zero, but instead it > gives me None. Is there something I am missing? > > from sympy import * > n = symbols("n") > limit_seq(((-1) ** n) / n, n) > > Thanks, > Edi. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/c765082c-d309-4e24-9a77-6cce6b9fe754%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6KBsZFDCJihr%3DV5sJ1TE4oL81aaDQ612P5WOeCKtu7mcQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
