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

Robert Kern robert.kern at gmail.com
Sat Jun 19 16:43:47 EDT 2010


On Sat, Jun 19, 2010 at 15:37, Benjamin Root <ben.root at 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