[Numpy-discussion] Any interest in a 'heaviside' ufunc?
Warren Weckesser
warren.weckesser at gmail.com
Tue Feb 3 15:58:17 EST 2015
I have an implementation of the Heaviside function as numpy ufunc. Is
there any interest in adding this to numpy? The function is simply:
0 if x < 0
heaviside(x) = 0.5 if x == 0
1 if x > 0
Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150203/ab496796/attachment.html>
More information about the NumPy-Discussion
mailing list