-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[GSoC] Core: Fixes _eval_nseries() of Power #19508
Conversation
✅ Hi, I am the SymPy bot (v160). 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.7. 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.
Update The release notes on the wiki have been updated. |
Codecov Report
@@ Coverage Diff @@
## master #19508 +/- ##
==============================================
+ Coverage 64.186% 75.681% +11.494%
==============================================
Files 652 653 +1
Lines 169748 169836 +88
Branches 40071 40047 -24
==============================================
+ Hits 108956 128535 +19579
+ Misses 54578 35689 -18889
+ Partials 6214 5612 -602 |
Thanks, this is ready to be merged/ |
Fixes: #9549
Fixes: #12578
Fixes: #12769
Fixes: #15146
Fixes: #17751
Fixes: #18008
Brief description of what is fixed or changed
The series expansion of
b**e
is computed as follows:b
asf*(1 + g)
wheref
is the leading term ofb
.g
has orderO(x**d)
whered
is strictly positive.b**e
=(f**e)*((1 + g)**e)
.(1 + g)**e
is computed using binomial series.It was very important to rewrite and clean-up
Pow._eval_nseries()
completely, so that many issues get resolved and it becomes easy to debug any further bugs related to series expansions or limit evaluations.Other Comments
Regression Tests have been added.
Release Notes
_eval_nseries()
function ofpower.py