[Numpy-discussion] Setting small numbers to zero.

Christopher Barker Chris.Barker@noaa....
Wed Mar 17 14:20:41 CDT 2010


Robert Kern wrote:
> On Wed, Mar 17, 2010 at 14:04, Christopher Barker <Chris.Barker@noaa.gov> wrote:

>> though last I checked, it's
>> written in Python,
> 
> No, it isn't.
> 
>> and thus not all that fast.
> 
> No, it's reasonably performant.

nice to know -- a good while back, I wrote a small collection of add-ons 
to Numeric, in painfully hand-written C, including a "fast_clip". I 
think every one of them has been rendered obsolete in recent versions of 
numpy.

-Chris





-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the NumPy-Discussion mailing list