-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
Provide symbolic sum function with evalf #9424
Comments
comment:7
Your problem is threefold: 1. you use
|
comment:8
I don't think any of these invalidate the ticket; the point is to extend the behavior. Why is 1. a problem? This seems like it should be a nice function to me. See Burcin's reply in the thread:
Burcin knows this code very well, so I would be surprised if he misdiagnosed this. But I figure maybe changing to enhancement will appease everyone :) |
comment:9
Burcin is spot-on:
(Note the "New", not "BuiltIn" or similar. It's a completely generic placeholder) Incidentally, we can just map back to maxima and do the right thing there:
(I haven't checked if it's correct). You can see why the "simplify_sum" is required: the newly created "sum" function in SR is linked to the inert "'sum". |
comment:12
A relevant ask.sagemath question. Maybe it's time we fixed this. |
This comment has been minimized.
This comment has been minimized.
comment:13
Replying to @kcrisman:
It is not clear if forcing people to use
However, I would expect |
This comment has been minimized.
This comment has been minimized.
comment:26
Fixing these doctests will need the solutions found for fixing #17849 (or vice versa). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/rws/provide_symbolic_sum_function_with_evalf to u/rws/9424 |
comment:31
|
Reviewer: Daniel Krenn |
comment:34
LGTM |
Changed branch from u/rws/9424 to |
Symbolics sums returned from maxima cannot be numerically evaluated, since they don't define an
_evalf_()
method.This was reported by dirkd on sage-support:
Here is the thread:
http://groups.google.com/group/sage-support/t/615b15ca638c9652
See also #15346
Depends on #17759
CC: @sagetrac-whuss @kcrisman @eviatarbach
Component: symbolics
Author: Ralf Stephan
Branch/Commit:
4f7b161
Reviewer: Daniel Krenn
Issue created by migration from https://trac.sagemath.org/ticket/9424
The text was updated successfully, but these errors were encountered: