#2697: [with patch, needs review] allow integration without explicit variable
declaration
-------------------------+--------------------------------------------------
 Reporter:  was          |        Owner:  kcrisman
     Type:  enhancement  |       Status:  new     
 Priority:  major        |    Milestone:  sage-3.4
Component:  calculus     |   Resolution:          
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by kcrisman):

 Okay, I like your patch.  I do think that there should be support for
 {{{
 sage: f(x)=x
 sage: integrate(f,-1,1)
 0
 }}}
 I wasn't suggesting integrating a symbolic equation, just that the same
 behavior results for
 {{{
 sage: integrate(f,-1,1)
 0
 sage: integrate(x,-1,1)
 0
 }}}
 because I don't think most newbie Sage users will get the difference
 between f(x)=x and f=x, for instance.
 Anyway, the latest patch applies the appropriate parts of your patch to
 CallableSymbolicExpression as well; there needs to be less checking
 because of the different return expected, e.g. indefinite integral is
 already handled by the previous code (still returning a
 CallableSymbolicExpression, though).

 Unfortunately, calculus.py always times out for me when I test it.  I
 tried to check that I did not change any existing behavior but hopefully
 you (or someone else) can check this.

 Otherwise positive review!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2697#comment:11>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to