#10035: Create hold context
-------------------------------+------------------------
       Reporter:  kcrisman     |        Owner:  burcin
           Type:  enhancement  |       Status:  new
       Priority:  minor        |    Milestone:  sage-6.4
      Component:  symbolics    |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------

Comment (by rws):

 Replying to [comment:5 jpflori]:
 > Replying to [comment:4 jason]:
 > > That would be awesome!
 > But with such a construction it is not obvious how to simplify 't'
 without going through Maxima as suggested in
 [http://trac.sagemath.org/search/opensearch?q=ticket%3A10034 #10034]
 >
 >
 > {{{
 > sage: with hold:
 > ....:     t = tan(pi/2)
 > ....:
 > sage: t tan(pi/12)
 > sage: t.eval() #or t.unhold() or whatever
 > -sqrt(3) + 2
 > }}}
 You are going through Maxima because the `simplify...` functions do this.
 So improve these by replacing Maxima. It has nothing to do with the
 question of a global hold context.

--
Ticket URL: <http://trac.sagemath.org/ticket/10035#comment:13>
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/d/optout.

Reply via email to