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
Added code to check summation of convergent series #16266
Conversation
#Fixes 14579 Sum(sqrt(n), (n, 1, oo)) didn't calculate or simplified previously.It gave only its corresponding symbolic representation.As discussed in the issue thread,positive divergent series should return oo. Fixed in line 203-204.
Add some tests for issue_16250
Divergent summation series
✅ Hi, I am the SymPy bot (v142). I'm here to help you write a release notes entry. Please read the guide on how to write release notes. Your release notes are in good order. Here is what the release notes will look like: This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.4. Note: This comment will be updated with the latest check if you edit the pull request. You need to reload the page to see it. Click here to see the pull request description that was parsed.
|
Divergent summation series
It would have been better to continue in #16250 as there you had got it into a separate branch, not on your master. |
yes |
Fixes #14579
Brief description of what is fixed or changed
I have added code in eval_sum to check if the series is convergent and do calculations specifically.
I have added some tests.
Other comments
Ihaven't added added any code to fix or check and calculate sum for floating point integers.If granted I will add it.For now,only symbolically we can calculate.
Release Notes