[Numpy-discussion] "Extended" Outer Product
robert.kern at gmail.com
Tue Aug 21 18:00:27 EDT 2007
Timothy Hochberg wrote:
> On 8/21/07, *Anne Archibald* <peridot.faceted at gmail.com
> <mailto:peridot.faceted at 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.
"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