#2452: [with patch, positive review] Heaviside step function, Dirac delta needed
-------------------------+--------------------------------------------------
 Reporter:  gfurnish     |       Owner:  gfurnish
     Type:  enhancement  |      Status:  assigned
 Priority:  major        |   Milestone:  sage-4.1
Component:  symbolics    |    Keywords:          
 Reviewer:               |      Author:          
   Merged:               |  
-------------------------+--------------------------------------------------

Comment(by wdj):

 This applies to 4.1.alpha1 on an amd64 ubuntu 9.04 machine and passes all
 tests except for three which seem unrelated (darwin_utilities,
 random_tests, and the French programming tutorial).
 {{{
 sage: t = var("t")
 sage: plot(heaviside(t)+2*heaviside(t-1),t,-5,5)
 sage: P1 = plot(t*heaviside(t)+(2-t)*heaviside(t-1),t,-5,5)
 sage: P2 = plot(heaviside(t)*cos(t),t,-5,5, linestyle="--",
 rgbcolor=(1,0,0), thickness=3)
 sage: show(P1+P2)

 }}}
 I like the fact that plotting like this works so well!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/2452#comment:19>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
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