Status: Valid
Owner: ----
Labels: Type-Enhancement Priority-Medium Series

New issue 4113 by [email protected]: Refactor _eval_nseries methods for sympy/functions/
http://code.google.com/p/sympy/issues/detail?id=4113

Currently we have here things like this:
def _eval_nseries(self, x, n, logx):
    ...
    arg = self.args[0]
    arg_series = arg._eval_nseries(x, n=n, logx=logx)
    if arg_series.is_Order:
       return 1 + arg_series
    arg0 = limit(arg_series.removeO(), x, 0)
    if arg0 in [-oo, oo]:
       return self
    ...

For me, it looks like we reinvent every time the
composition of series.

Probably, this should go to sympy/core/function.py and
_eval_nseries for functions should have only positional
argindex argument, just like fdiff.

see https://groups.google.com/forum/?fromgroups=#!topic/sympy/mhu3d0nxh6Y


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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 http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to