[Numpy-discussion] reduce array by computing min/max every n samples

Robert Kern robert.kern@gmail....
Sat Jun 19 15:43:47 CDT 2010


On Sat, Jun 19, 2010 at 15:37, Benjamin Root <ben.root@ou.edu> wrote:

> On that note, would it be a bad idea to have a function that returns a
> min/max tuple?  Performing two iterations to gather the min and the max
> information versus a single iteration to gather both at the same time would
> be useful.

I have often wanted one.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the NumPy-Discussion mailing list