#4721: [with patch; needs work] Indefinite integration for piecewise functions
-------------------------+--------------------------------------------------
 Reporter:  pbutler      |        Owner:  burcin    
     Type:  enhancement  |       Status:  new       
 Priority:  minor        |    Milestone:  sage-3.4.1
Component:  calculus     |   Resolution:            
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by mabshoff):

  * summary:  [with patch; positive review] Indefinite integration for
              piecewise functions => [with patch; needs work]
              Indefinite integration for piecewise functions

Comment:

 I am seeing two doctests failure:
 {{{
 sage -t -long "devel/doc/const/const.tex"
 **********************************************************************
 File "/scratch/mabshoff/sage-3.3.alpha3/devel/doc/const/const.tex", line
 525:
     : f.integral()
 Expected:
     3
 Got:
     Piecewise defined function with 2 parts, [[(0, 1), x^3/3], [(1, 2),
 (15*x - x^3)/3 - 13/3]]
 **********************************************************************
 }}}
 and
 {{{
 sage -t -long "devel/sage/sage/calculus/wester.py"
 **********************************************************************
 File
 "/scratch/mabshoff/sage-3.3.alpha3/devel/sage/sage/calculus/wester.py",
 line 454:
     : f.integral()
 Expected:
     100
 Got:
     Piecewise defined function with 2 parts, [[(-10, 0), 50 - x^2/2], [(0,
 10), x^2/2 + 50]]
 **********************************************************************
 }}}

 If someone posts additional patches please also fold the patches together.

 Cheers,

 Michael

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