[Numpy-discussion] Any interest in a 'heaviside' ufunc?

Aron Ahmadia aron at ahmadia.net
Tue Feb 3 23:41:30 EST 2015


> This is not correct. The discrete form of the Heaviside step function has
> the value 1 for x == 0.
>

Yeah,  I was looking at it and wondering if I'd misremembered the
definition.  Assuming you're implementing the discrete Heaviside function,
H[0] = 1 as Sturla notes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150203/7edc3e39/attachment.html>


More information about the NumPy-Discussion mailing list