On Tue, Jun 23, 2009 at 1:02 PM, Golam Mortuza Hossain<gmhoss...@gmail.com> wrote: > > Thanks David, Tim, Burcin! > > Correct me if I have missed your points. With your suggestions > here is the new conventions for Heaviside and unit step > > (2) Heaviside: > > (a) represented as: "heaviside" > (b) latex name : "\theta"
Again, I have not heard of \theta as representing the Heaviside function. I'd prefer just "H" as the latex symbol. > (c) heaviside(0): will return symbolic expression "heaviside(0)" > > (3) unit_step = heaviside (Just an alias) > > >>> Will, for example, sin(t)*unit_step(t) be defined? >>> If so, will you provide a plotting and _latex_ method for it? >>> >> I really hope so. > > These functions are sub-class of PrimitiveFunctions of new > symbolics. So many methods are predefined. For example, > I didn't write any code for plotting but it works. > > Here is a screenshot from my Sage notebook. > > http://www.math.unb.ca/~ghossain/sage-generalized-functions.png Cool! > > Hopefully, it answers some of your questions. I am still working > on integration algorithm. > > Cheers, > Golam > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---