-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
pass algorithm argument to custom numeric evaluation methods #12289
Comments
Attachment: trac_12289-evalf_dictionary.patch.gz |
Attachment: trac_12289-add_algorithm_arg.patch.gz Attachment: trac_12289-example.patch.gz |
comment:1
The
The docstrings for |
comment:2
I'm doing some testing of these patches along with rebasing #1173. Thanks Burcin! |
Changed keywords from pynac to pynac sd35.5 |
Changed keywords from pynac sd35.5 to pynac sd35.5 sd40.5 |
comment:4
I'm trying to rebase the patch attachment: trac_12289-evalf_dictionary.patch to sage-5.0, but I'm running into a problem with the type of To be more specific, with this type def for
I rebuild sage and get:
Any suggestions (burcin?) |
Attachment: trac_12289-evalf_dictionary_rebase.patch.gz rebase to sage-5.0 + pynac-0.2.4 spkg |
Attachment: trac_12289_py_float_fix.patch.gz fix py_float delcaration |
comment:7
I've been working on this ticket today at sd40.5. I've got burcin's changes working in sage-5.0 with a caveat. Here's how to get the example in comment:1 working in sage-5.0:
|
comment:8
Patchbot, though, should only apply trac_12289-evalf_dictionary_rebase.patch, trac_12289-add_algorithm_arg.patch, and trac_12289_py_float_fix.patch |
This comment has been minimized.
This comment has been minimized.
comment:9
So that we don't forget to fix it later:
|
comment:10
Is this stuff in the current Pynac 0.2.6?
Can now be skipped, presumably.
|
comment:12
Some of these patches have bitrotted slightly. Updates coming up. |
comment:13
Regarding Doug's comment on
Is this something we want to fix here? I'm not sure whether this is behavior that is supported with this patch, though perhaps it should be. I think that so far this is only putting in infrastructure, right? I don't see any doctests here, for instance. |
Attachment: trac_12289-py_float-fix-rebase.patch.gz |
comment:14
Attachment: trac_12289-add_algorithm-rebase.patch.gz |
This comment has been minimized.
This comment has been minimized.
comment:15
Patchbot, apply trac_12289-evalf_dictionary_rebase.patch , trac_12289-add_algorithm-rebase.patch , and trac_12289-py_float-fix-rebase.patch |
This comment has been minimized.
This comment has been minimized.
comment:16
I think that we definitely need at least one example of how to do this if we aren't going to have any other documentation here. |
Work Issues: doctests, documentation |
comment:17
We need to fix this.
But it does work! |
Reviewer: Karl-Dieter Crisman, Doug S. MacNeil, Benjamin Jones |
Commit: |
Branch: u/jpflori/ticket/12289 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed work issues from doctests, documentation to blankline |
comment:36
I just rebased the old patches and fixed an additional missing new keyword. |
Changed reviewer from Karl-Dieter Crisman, Doug S. MacNeil, Benjamin Jones to Karl-Dieter Crisman, Doug S. MacNeil, Benjamin Jones, Jean-Pierre Flori |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:38
In fact the doctest was expected to change... so needs review for the two basic changes I made. New commits:
|
comment:40
I can't do actual testing now (or any time soon, I've really fallen off the development radar screen) but these minor changes in the last two commits are completely fine as long as the doc change fixes the problem. Hopefully we'll actually start implementing some of these algorithms now... |
comment:41
Testing will be done automatically by the patchbots, so I'll take your comment as positive review. |
Changed branch from u/jpflori/ticket/12289 to |
Changed commit from |
Changed reviewer from Karl-Dieter Crisman, Doug S. MacNeil, Benjamin Jones, Jean-Pierre Flori to Karl-Dieter Crisman, Douglas MacNeil, Benjamin Jones, Jean-Pierre Flori |
Changed work issues from blankline to none |
This comment has been minimized.
This comment has been minimized.
comment:44
Is there any particular reason that this was done for |
comment:45
Similarly: shouldn't
|
Custom numeric evaluation functions defined in the
_evalf_()
method of symbolic functions accept only the parent of the result as an argument. We should expand this to allow passing analgorithm
parameter as well.Merge together with dependencies (i.e. there are circular dependencies).
Depends on #13933
Depends on #4102
Depends on #15198
CC: @benjaminfjones @sagetrac-dsm @kcrisman @kini @eviatarbach @vbraun
Component: symbolics
Keywords: pynac sd35.5 sd40.5 sd48
Author: Burcin Erocal, Benjamin Jones
Branch:
ef6d2de
Reviewer: Karl-Dieter Crisman, Douglas MacNeil, Benjamin Jones, Jean-Pierre Flori
Issue created by migration from https://trac.sagemath.org/ticket/12289
The text was updated successfully, but these errors were encountered: