From: Charles R H. <cha...@gm...> - 2006-10-09 17:59:24
|
On 10/9/06, Travis Oliphant <oli...@ie...> wrote: > > Charles R Harris wrote: > > > > > > On 10/9/06, *Tim Hochberg* <tim...@ie... > > <mailto:tim...@ie...>> wrote: > > > > <snip> > > > > Is this not the same things as numpy.multiply.outer(a, b)? (as > > opposed > > to outer(a, b), which appears to pretend that everything is a > > vector -- > > I'm not sure what the point of that is). > > > > > > Hmmm, yes, multiply.outer does do that. I thought that outer was short > > for multiply.outer and that the behaviour had changed. So the question > > is why outer does what it does. > Unfortunately, I don't know the answer to that. > > numpy.outer is the same as Numeric.outerproduct and does the same > thing. I'm not sure of the reason behind it. Looks sorta like a matrix thing. Maybe it should be called outerflat or some such. Chuck |