[Numpy-discussion] "Extended" Outer Product

Robert Kern robert.kern@gmail....
Tue Aug 21 17:00:27 CDT 2007


Timothy Hochberg wrote:
> On 8/21/07, *Anne Archibald* <peridot.faceted@gmail.com
> <mailto:peridot.faceted@gmail.com>> wrote:

>     but conceptually it's extremely handy for
>     doing exactly what the OP wanted. Unfortunately vectorize() does not
>     yield a sufficiently ufunc-like object to support .outer(), as that
>     would be extremely tidy.
> 
> I suppose someone should fix that someday.

Not much to fix. There is already frompyfunc() which does make a real ufunc.
However, (and it's a big "however"), those ufuncs only output object arrays.
That's why I didn't mention it earlier.

-- 
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