#1221: Consider using Mathematica syntax for integration
---------------------------+------------------------------------------------
Reporter: certik | Owner: mhansen
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.4.1
Component: calculus | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by burcin):
* cc: jason (added)
* upstream: => N/A
Comment:
I suggest we close this ticket since we now support the suggested syntax:
{{{
----------------------------------------------------------------------
| Sage Version 4.4.1.alpha2-patched, Release Date: 2010-04-29 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: integrate(x**3, (x, -1, 1))
0
sage: integrate(sin(x), (x, 0, pi/2))
1
sage: integrate(cos(x), (x, -pi/2, pi/2))
2
}}}
The docstring for `sage.misc.functional.integrate()` and
`sage.symbolic.integration.integral.integral()` contains plenty of
doctests to test the tuple syntax.
Further discussion on
* implementing multiple integrals with `integrate(cos(x*y), (x, -pi/2,
pi/2), (y, 0, pi))` and
* replacing the examples in the docstrings with the tuple syntax and
deprecating the old one
can be continued in #2787.
Comments?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1221#comment:8>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.