
Sept. 26, 2001
2:10 p.m.
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