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
Implementing Formal Power Series, rational algorithm #9572
Conversation
This is built over code in #9523 which is under review. |
Some results
As,
|
Also implemented basic version of FormalPowerSeries
returns series sexpansion of f upto order ``O(x**n)`` as a polynomial (without ``O`` term)
num /= xc**j | ||
|
||
ak = ((-1)**j * num * binomial(j + k - 1, k) | ||
.rewrite(factorial) / a**(j + k)) |
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.
Can you break this line somewhere else? I didn't even realize it was legal to break a line before a period...
All the changes were merged in #9639. |
TODO
I have implemented first version of
FormalPowerSeries
andrational_algorithm
. Still needs a lot of work.Ping @jcrist @flacjacket @certik