That seems useful to me. On Tue, Feb 3, 2015 at 3:58 PM, Warren Weckesser <warren.weckes...@gmail.com > wrote:
> 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 > > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion