#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):

 I don't have a chance to review this yet (tomorrow?) but at least want to
 point out that the other day I noticed that the functionality did also not
 work for CallableSymbolicExpression (e.g. lines 5779 or so the integral()
 method), which seems to have an even more primitive version of the same
 code.  E.g., to try the original example for this ticket:
 {{{
 sage: f(x)=x
 sage: f
 x |--> x
 sage: type(f)
 <class 'sage.calculus.calculus.CallableSymbolicExpression'>
 sage: integrate(f,-1,1)
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)
 <snip>
 sage: f.integral(-1,1)
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)
 <snip>
 }}}
 But this does work, so I think one would really have to fix the
 CallableSymbolicVariable piece:
 {{{
 sage: f.integral(x,-1,1)
 0
 sage: integral(f,x,-1,1)
 0
 }}}
 Thanks for working on this - I knew it would be impossible for me to get
 to it until after the semester, and that proved to be true.

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