MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: define an heaviside in x=0

  • To: mathgroup at
  • Subject: [mg96003] Re: define an heaviside in x=0
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at>
  • Date: Sat, 31 Jan 2009 06:46:17 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <gm0q8e$rrh$>

In article <gm0q8e$rrh$1 at>, ventutech at wrote:

> how can I define an Heaviside Function that returns 1/2 if evaluated in zero?
> I need it for numerical integrals. Unitstep returns 1. How can I
> override it and make it return 1/2?


    UnitStep[0] = 1/2;


Out[4]= 1/2


  • Prev by Date: Re: Can I Map[] this code?
  • Next by Date: FourierTransform
  • Previous by thread: Re: define an heaviside in x=0
  • Next by thread: NEWBIE: How do I use the results of a Solve?