-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Partial sums are off for Fourier series of piecewise functions #8603
Comments
comment:1
This is still true, and syntax is also deprecated.
|
Changed keywords from none to sd31 |
comment:2
On a related note: what is the purpose of |
comment:3
You may be right. I'd have to look at it. Remember, these are all really old, so they probably at the time bypassed the non-existent 'plot' function, and then were subsequently changed, perhaps. |
one line change in docstring |
comment:4
Attachment: trac_8603-fourier-sum-docstring.patch.gz This fixes the documentation of fourier_series_partial_sum, replacing
by
|
comment:5
Thanks, David; I don't have time to review this now, but appreciate it. Andrey and I were discussing this at Sage Days 31, and thought that maybe changing the behavior instead to match Taylor series would be good, but if this was in fact what you had intended all along, then this solution is better. |
Author: David Joyner |
comment:6
Replying to @kcrisman:
The This is a trivial change. I'd be happy to give a positive review if it passes all tests but the patch bot doesn't seem to be working for some reason. |
comment:7
There are more instances of the same typo in other functions of this module, let's fix them all at once!-) David, do you agree that plot methods can be eliminated as they are not really doing anything? |
Work Issues: other instances of the typo |
comment:8
Replying to @novoselt:
Can you be more specific?
I think I looked at this at Sage Days 31, but now I forgot whether that statement is true. |
Dependencies: #14801 |
comment:14
Updated with information regarding the new |
comment:15
This is fixed by #23672. Regarding the example in the ticket description, in Sage 8.1.beta4, we have now
We even have, since the half-period is now a default argument,
|
comment:16
Excellent. Is this documented via a test? |
comment:18
Replying to @kcrisman:
Yes this is documented, both in Sage Reference Manual and in Sage Constructions, see here. |
comment:19
Sweet. Strange that it didn't cause any doctest errors then? If it didn't, we should make sure to include at least two of the examples on the ticket in the doc somewhere. |
comment:20
Replying to @kcrisman:
I am not sure to understand what you mean. In the current version, as integrated in Sage 8.1.beta4, there are doctests like
In Sage <= 8.0, this would have returned (*)
(*) with the half-period added as the second argument, i.e. |
comment:21
My concern was just that the correct nature was doctested, not the wrong one, and that we really did have that to test against regression at some point. Good! |
comment:23
I wonder why "wontfix" since the issue is fixed in 8.1.beta4. |
comment:24
Replying to @zimmermann6:
Actually, as said in comment:15, the issue is fixed in another ticket: #23672, hence the "sage-duplicate/invalid/wontfix" milestone for the current one and the "wonfix" resolution. |
This comment has been minimized.
This comment has been minimized.
comment:26
Hey, do non-release managers get to mark "closed"? That would be a change in protocol. Also, maybe the resolution should be "fixed" or "duplicate" if it is indeed fixed in another ticket? |
comment:27
Replying to @kcrisman:
This was announced in https://groups.google.com/d/msg/sage-release/4bIUu1NECwY/we3BMdkeAAAJ with apparently the approval of the release manager.
Ah yes, you are right (I thought this was automatically set to "wontfix" while closing "sage-duplicate/invalid/wontfix" tickets). |
comment:28
Replying to @egourgoulhon:
10 hours ago :-) but this will be welcome for obvious dupes etc.
Yeah, that might be the default, but typically we try to be precise on this. Nice. |
Doing
we get
while according to the documentation we should get the second output with the first command.
Update: Same output with the new
piecewise
from #14801. Does it agree with the documentation there?UPDATE: this is fixed in Sage 8.1 (see #23672):
Depends on #14801
CC: @wdjoyner @jasongrout @jondo @kcrisman @vbraun @slel @mkoeppe @eviatarbach @rwst @novoselt
Component: calculus
Keywords: sd31
Work Issues: other instances of the typo
Author: David Joyner
Issue created by migration from https://trac.sagemath.org/ticket/8603
The text was updated successfully, but these errors were encountered: