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
functions PowerSeries.ogf() and egf() named wrong #15705
Comments
This comment has been minimized.
This comment has been minimized.
Branch: u/rws/ticket/15705 |
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:6
It appears that we would have to deprecate the old names first. |
Changed author from rws to Ralf Stephan |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Hellooooooooo ! You should probably use http://www.sagemath.org/doc/developer/coding_in_python.html#deprecation Nathann |
comment:12
You're right! |
Changed branch from u/rws/ticket/15705 to public/15705 |
Reviewer: Nathann Cohen |
comment:13
Hmmmmm... at first I did not like the new names at all, and prefered I just added a small commit on top of yours to fix two things:
All tests pass. If you agree with my changes you can set the ticket to Nathann New commits:
|
Changed branch from public/15705 to |
The functions
PowerSeries.ogf()
andegf()
are named wrongThe documentation states: Returns the ordinary generating function associated to self. But the function is a wrapper for the Pari function
serlaplace()
which actually converts to ordinary g.f. in the case of an exponential g.f.Example:
1+x+x<sup>2+x</sup>3+x<sup>4+O(x</sup>5)
is generated both by1/(1-x)+O(x^5)
or itself, but:which is clearly wrong given name and definition.
So, I hope you agree it's necessary if I rename
ogf()
toegf_to_ogf()
andegf()
toogf_to_egf()
and adapt the docs.Component: combinatorics
Keywords: series ogf
Author: Ralf Stephan
Branch/Commit:
813a807
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/15705
The text was updated successfully, but these errors were encountered: