#1773: piecewise functions and integration / arithmetic do not play well
together
----------------------+-----------------------------------------------------
Reporter: was | Owner: gfurnish
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.4.1
Component: calculus | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by rlm):
This isn't specific to integrate. The problem is that piecewise functions
don't play well with *symbolics*
{{{
sage: f1(x) = -abs(x) + 1
sage: f2(x) = abs(x - 2) - 1
sage: tri_wave = piecewise([ [(-1,1), f1], [(1,3), f2]])
sage: tri_wave(x)
SAME ERROR
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1773#comment:2>
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
-~----------~----~----~----~------~----~------~--~---