#2452: heaviside step function needed
-------------------------+--------------------------------------------------
Reporter: gfurnish | Owner: gfurnish
Type: enhancement | Status: assigned
Priority: critical | Milestone: sage-3.2
Component: calculus | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by jason):
What is the status of this? I noticed something else when trying to do a
diffeq lesson:
{{{
sage: def unit_step(c):
....: return piecewise( [( (-oo,c), 0), ((c, oo), 1)] )
....:
sage: unit_step(2)
Piecewise defined function with 2 parts, [((-Infinity, 2), 0), ((2,
+Infinity), 1)]
sage: unit_step(2)*unit_step(3)
Piecewise defined function with 3 parts, [[(2, 3), 0], [(3, -Infinity),
0], [(-Infinity, +Infinity), 1]]
}}}
That last multiplication just plain does not make sense. Even the
intervals are all messed up.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2452#comment:3>
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
-~----------~----~----~----~------~----~------~--~---