tensor product

Travis Oliphant oliphant.travis at ieee.org
Mon Oct 9 12:51:38 CDT 2006

Charles R Harris wrote:
> On 10/9/06, *Tim Hochberg* <tim.hochberg at ieee.org 
> <mailto:tim.hochberg at ieee.org>> 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.


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash

More information about the Numpy-discussion mailing list