-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Full symbolic sum function #21645
Comments
comment:1
Indeed ! This issue is known for a while, see this ask question for a dirty workaround. Funnily, i recently got a similar request privately, and was about to open a ticket to add a |
This comment has been minimized.
This comment has been minimized.
Branch: u/rws/full_symbolic_sum_function |
New commits:
|
Author: Ralf Stephan |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Looking at the patch, I see presently special work happens on maxima's return values, which replaces maxima's "inert" sum with sage's newly grown symbolic sum function. I think that's problematic (for instance, we could have nested sums, and the nested sums would escape this treatment). Also, the test used (
wrong. It should be possible to use the standard SR-to-maxima and maxima-to-SR translation dictionaries for this, just as functions like sin etc. get properly translated. Isn't the line
already enough to get the required automatic translations? If not, perhaps there is a manual override somewhere else that needs to be removed to let the normal translation take its course? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
You're right! |
Reviewer: Nils Bruin |
comment:9
Looks good and patchbot is happy (coverage plugin failure seems to be on code that this actual branch doesn't touch) |
Changed branch from u/rws/full_symbolic_sum_function to |
sum(ex,...)
always gets sent tocalculus.symbolic_sum()
where Maxima is called. If unevaluated an anonymous functionsum
is returned.This is unsatisfactory in many regards. Calls always go through Maxima, even if one wants just a sum expression held unevaluated. Also the anonymous function cannot be evaluated or substituted. For these reasons making a full symbolic sum function is a natural decision.
See also #17505
Component: symbolics
Author: Ralf Stephan
Branch/Commit:
7e8d0d0
Reviewer: Nils Bruin
Issue created by migration from https://trac.sagemath.org/ticket/21645
The text was updated successfully, but these errors were encountered: