#12289: pass algorithm argument to custom numeric evalution methods
---------------------------------------+------------------------------------
       Reporter:  burcin               |         Owner:  burcin   
           Type:  enhancement          |        Status:  new      
       Priority:  major                |     Milestone:  sage-5.11
      Component:  symbolics            |    Resolution:           
       Keywords:  pynac sd35.5 sd40.5  |   Work issues:           
Report Upstream:  N/A                  |     Reviewers:           
        Authors:  Burcin Erocal        |     Merged in:           
   Dependencies:                       |      Stopgaps:           
---------------------------------------+------------------------------------

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.
>
> ----
>
> See comment:7 for testing instructions.
>
> For merging, apply [attachment:trac_12289-evalf_dictionary_rebase.patch],
> [attachment:trac_12289-add_algorithm-rebase.patch], and
> [attachment:trac_12289-py_float-fix-rebase.patch].

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.patch],
 [attachment:trac_12289-add_algorithm-rebase.patch], and
 [attachment:trac_12289-py_float-fix-rebase.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], and
 [attachment:trac_12289-py_float-fix-rebase.patch].  Pynac spkg will be
 needed as well.

--

Comment (by kcrisman):

 Patchbot, apply trac_12289-evalf_dictionary_rebase.patch , trac_12289
 -add_algorithm-rebase.patch , and trac_12289-py_float-fix-rebase.patch

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