[Numpy-discussion] round() and abs() Ufuncs???
John J. Lee
jjl at pobox.com
Wed Sep 26 14:10:02 EDT 2001
On Wed, 26 Sep 2001, Chris Barker wrote:
[...]
> OK, Tim Hochberg was nice enough to point out to me that abs() works on
> NumPy arrays. However, it does not work on other sequences, so maybe we
> need this:
>
> def abs(a):
> return abs(asarray(a))
Numeric.absolute, as Robert Kern pointed out, maybe that hasn't arrived in
your mailbox...
John
More information about the NumPy-Discussion
mailing list