#16941: Add a hold parameter for symbolic integrals
---------------------------+----------------------------
   Reporter:  tmonteil     |            Owner:
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-6.4
  Component:  symbolics    |         Keywords:
  Merged in:               |          Authors:
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+----------------------------
 As discussed in [http://ask.sagemath.org/question/24039/showing-both-
 input-and-output/?answer=24040 this ask question], there is no hold
 parameter for integration:

 {{{
 sage: integral(x^2, x, 0, 3, hold=True)
 TypeError: integrate() got an unexpected keyword argument 'hold'
 }}}

 However `definite_integral` and `indefinite_integral` support this
 paramter:

 {{{
 sage: from sage.symbolic.integration.integral import definite_integral
 sage: definite_integral(x^2, x, 0, 3, hold=True)
 integrate(x^2, x, 0, 3)
 sage: latex(_)
 \int_{0}^{3} x^{2}\,{d x}
 }}}

 Since `integral` basically calls the previous functions, we should
 transfer this parameter.

--
Ticket URL: <http://trac.sagemath.org/ticket/16941>
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