[Numpy-discussion] Re: selecting random array element

Robert Kern robert.kern at gmail.com
Mon Feb 20 17:39:06 EST 2006

Alan G Isaac wrote:
> On Mon, 20 Feb 2006, Robert Kern apparently wrote: 
>>        length = numpy.multiply.reduce(x.shape) 
> Can this be different from x.size?

No, it's just that old habits die hard. I knew there was a clean way to get that
information, I just didn't remember it or bother myself to look for it.

Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter

More information about the NumPy-Discussion mailing list