#2697: [with patch, needs review] allow integration without explicit variable
declaration
-------------------------+--------------------------------------------------
Reporter: was | Owner: kcrisman
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.2
Component: calculus | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by robertwb):
Hmm... now I get
{{{
sage: var('x,a,b')
(x, a, b)
sage: integral(x^2, a, b)
------------------------------------------------------------
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
File "/Users/robert/sage/current/local/lib/python2.5/site-
packages/sage/misc/functional.py", line 418, in integral
return x.integral(*args, **kwds)
File "/Users/robert/sage/current/local/lib/python2.5/site-
packages/sage/calculus/calculus.py", line 2594, in integral
raise TypeError, 'only one endpoint given'
TypeError: only one endpoint given
}}}
where I'd expect {{{(b^3 - a^3)/3}}}.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2697#comment:6>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---