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

  * status:  needs_work => needs_review
  * dependencies:  => #13933, #4102


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.patch],
> [attachment:trac_12289-add_algorithm-rebase.patch],
> [attachment:trac_12289-py_float-fix-rebase.patch], and
> [attachment:trac_12289-more-alg.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.patch],
> [attachment:trac_12289-add_algorithm-rebase.patch],
> [attachment:trac_12289-py_float-fix-rebase.patch], [attachment:trac_12289
> -more-alg.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.

 ----

 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.

--

Comment:

 New patches up. All doctests pass in `sage/{symbolics,calculus}/`.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12289#comment:23>
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