New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finding limits of sequences. #9836
Conversation
The poster does not explain the case when there is no unique dominant term. I have tried to get it working but have failed to come to a good solution. Currently in this case, the function returns To clarify as to what to do in this case. I wrote an email to Manuel Kauers.
I am still waiting for a reply. If anybody else has any ideas, feel free to discuss. |
* Small changes in limitseq module
I got a reply to my email to Manuel Kauers.
|
I am stuck in the last two xfailed test-cases. According to the paper these should be solvable, but the function gets stuck in infinite recursion. I have been unable to pin-point the exact cause. Maybe it has to do with limitations in automatic simplification. |
This is mostly ready for review now. @jcrist @flacjacket |
|
||
O = Order | ||
dd = difference_delta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather this wasn't shortened (short functions/variables may clash with user things).
Besides my comments above, this looks good to me. |
* Add paramter section in docstring of limit_seq. * Remove dd from the global namespace. * Simple code cleanup.
I have addressed the comments. Please have a look @jcrist. |
Can you please have a look @jcrist. I would like to submit this in my code sample. |
Sorry for the delay. Looks good to me, thanks for your hard work! Merging. |
Thanks @jcrist for the review. |
This PR implements the algorithm as defined in the poster "Computing Limits of Sequences" by Manuel Kauers.
This algorithm works fine for some simple functions and computes their limit at infinity which currently SymPy is unable to handle. However, it still needs work as it is not very robust and often fails. Admissible functions need to be carefully defined. This is a still a work in progress.
Ping @jcrist @flacjacket