#12289: pass algorithm argument to custom numeric evaluation methods
-------------------------------------+-------------------------------------
       Reporter:  burcin             |        Owner:  burcin
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  symbolics          |   Resolution:
       Keywords:  pynac sd35.5       |    Merged in:
  sd40.5 sd48                        |    Reviewers:  Karl-Dieter Crisman,
        Authors:  Burcin Erocal,     |  Doug S. MacNeil, Benjamin Jones
  Benjamin Jones                     |  Work issues:  doctests,
Report Upstream:  N/A                |  documentation
         Branch:                     |       Commit:
  u/jpflori/ticket/12289             |  5d1fd3390700a4ad7521d14bad4d7b08f30e7edb
   Dependencies:  #13933, #4102,     |     Stopgaps:
  #15198                             |
-------------------------------------+-------------------------------------
Changes (by jpflori):

 * commit:   => 5d1fd3390700a4ad7521d14bad4d7b08f30e7edb
 * branch:   => u/jpflori/ticket/12289


Old description:

> 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 an `argument` parameter as well.
>
> ----
>
> Testing instructions:
>  * Rebuild Pynac via `sage -f -s pynac` in Sage 5.11.betaN or higher
>  * (By hand?) Apply [https://bitbucket.org/burcin/pynac-
> wip/compare/evalf_dict..tip#diff this diff] to the
> `spkg/build/pynac-0.3.0/src` directory
>  * Do `sage -sh` and `sage -b`
>  * Apply [attachment:trac_12289-evalf_dictionary_rebase.take2.patch],
> [attachment:trac_12289-add_algorithm-rebase.patch],
> [attachment:trac_12289-more-alg.patch], and
> [attachment:trac_12289-last_touches.patch].
>  * Apply [attachment:trac_12289-example.patch] to test that this works,
> or make your own change, or something.
>
> For merging, apply
>
> * [attachment:trac_12289-evalf_dictionary_rebase.take2.patch],
> * [attachment:trac_12289-add_algorithm-rebase.patch],
> * [attachment:trac_12289-more-alg.patch]
> * [attachment:trac_12289-last_touches.patch].
>
> Pynac spkg will be needed as well.

New description:

 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 an `argument` parameter as well.

 Merge together with dependencies (i.e. there are circular dependencies).

--

Comment:

 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=5aa39cedee6c1fe1aa62fceac77c2c6e502ddf8f
 5aa39ce]||{{{Use dictionary for custom numerical evaluation.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=d86cef5db5780ec0fddfd925a7f047cfced4a98d
 d86cef5]||{{{Add algorithm keyword to custom numerical evaluation.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=e08b282715f91bad6f40f8360a8c29aadecd61f2
 e08b282]||{{{Add missing algorithm keywords for custom numerical
 evaluation.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=008a54f3ecfd97b908910ae506b4847575a4d62a
 008a54f]||{{{Fix random issues caused by _evalf_ convention change.}}}||
 
||[http://git.sagemath.org/sage.git/commit/?id=5d1fd3390700a4ad7521d14bad4d7b08f30e7edb
 5d1fd33]||{{{Fix rebasing error.}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/12289#comment:33>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to