Opened 8 years ago

Closed 8 years ago

#16941 closed enhancement (fixed)

Add a hold parameter for symbolic integrals

Reported by: Thierry Monteil Owned by:
Priority: major Milestone: sage-6.4
Component: symbolics Keywords:
Cc: Merged in:
Authors: Thierry Monteil Reviewers: Ralf Stephan
Report Upstream: N/A Work issues:
Branch: 721dc23 (Commits, GitHub, GitLab) Commit: 721dc23353e720f8bea963792c4a8808e15ee8f4
Dependencies: Stopgaps:

Status badges

Description

As discussed in 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.

Change History (6)

comment:1 Changed 8 years ago by Thierry Monteil

Branch: u/tmonteil/add_a_hold_parameter_for_symbolic_integrals

comment:2 Changed 8 years ago by Thierry Monteil

Authors: Thierry Monteil
Commit: 721dc23353e720f8bea963792c4a8808e15ee8f4
Status: newneeds_review

New commits:

721dc23#16941 : Add a hold parameter for symbolic integrals.

comment:3 Changed 8 years ago by Ralf Stephan

Status: needs_reviewpositive_review

Really needed. Simple patch and buildbot is happy.

comment:4 Changed 8 years ago by Volker Braun

Status: positive_reviewneeds_work

Reviewer name

comment:5 Changed 8 years ago by Ralf Stephan

Reviewers: Ralf Stephan
Status: needs_workpositive_review

comment:6 Changed 8 years ago by Volker Braun

Branch: u/tmonteil/add_a_hold_parameter_for_symbolic_integrals721dc23353e720f8bea963792c4a8808e15ee8f4
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.