Re: [Numpy-discussion] Taking a large number of dot products at once

2011-03-03 Thread eat
Hi, On Fri, Mar 4, 2011 at 8:19 AM, Daniel Hyams wrote: > This is probably so easy, I'm embarrassed to ask it...but I've been casting > around trying things to no avail for the last hour and a half, so here > goes... > > I have a lot of dot products to take. The length-3 vectors that I want to

Re: [Numpy-discussion] Numpy 1.6 schedule (was: Numpy 2.0 schedule)

2011-03-03 Thread Ralf Gommers
On Mon, Feb 28, 2011 at 11:31 PM, Ralf Gommers wrote: > On Mon, Feb 28, 2011 at 10:36 PM, Bruce Southey wrote: >> On 02/28/2011 02:00 AM, Ralf Gommers wrote: >>> Hi, >>> >>> On Fri, Jan 28, 2011 at 7:15 AM, Travis Oliphant   >>> wrote: The reason for a NumPy 1.6 suggestion, is that Mark (and

[Numpy-discussion] Taking a large number of dot products at once

2011-03-03 Thread Daniel Hyams
This is probably so easy, I'm embarrassed to ask it...but I've been casting around trying things to no avail for the last hour and a half, so here goes... I have a lot of dot products to take. The length-3 vectors that I want to dot are stacked in a 2D array like this: U = [u1 u2 u3] and V

Re: [Numpy-discussion] polynomial: polypow et al not exported

2011-03-03 Thread Charles R Harris
On Wed, Mar 2, 2011 at 10:57 PM, Ralf Gommers wrote: > Hi Charles, > > Is it intentional that chebpow/legpow/polypow are not in __all__? That > is breaking crosslinks in the docs and it looks to me like it's just > an oversight. > > It's an oversight. I'll fix it up. Chuck ___

Re: [Numpy-discussion] (no subject)

2011-03-03 Thread Marcel Blattner
...for example: A = np.random.rand(5,5) In [366]: A Out[366]: array([[ 0.36380049, 0.26440478, 0.8515609 , 0.07893608, 0.48084575], [ 0.71133527, 0.90912083, 0.14812865, 0.23223621, 0.49983985], [ 0.51668793, 0.73303799, 0.18620246, 0.52968823, 0.51904697], [ 0.39

Re: [Numpy-discussion] (no subject)

2011-03-03 Thread Till Stensitzki
Alex Ter-Sarkissov gmail.com> writes: > > hi, the question is probably very silly, but can't get my head around itSay > I have an NxM numerical array. What I want is to obtain the row and > column number of the smallest value(kinda like find command in Matlab). > I use something like where(min(