#10034: Make evaluation possible for Pynac 'hold' objects
-------------------------------+--------------------------------------------
       Reporter:  kcrisman     |         Owner:  burcin      
           Type:  enhancement  |        Status:  needs_review
       Priority:  major        |     Milestone:  sage-5.11   
      Component:  symbolics    |    Resolution:              
       Keywords:               |   Work issues:              
Report Upstream:  N/A          |     Reviewers:              
        Authors:               |     Merged in:              
   Dependencies:               |      Stopgaps:              
-------------------------------+--------------------------------------------

Comment (by eviatarbach):

 I've thought about this. One option is to use pattern matching to specify
 the parts to evaluate, but I don't how the expression could be
 reconstructed afterwards.

 Another option is to have an argument for providing a list of operators
 not to evaluate (I think it's better to have an argument to exclude rather
 than include, because it is difficult to find all the operators in Sage,
 while finding ones to exclude just involves searching the expression).
 Then for the `2 * x * x` example you could just add `operator.mul` to the
 excluded operators and it would work.

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