[Numpy-discussion] Consider improving numpy.outer's behavior with zero-dimensional vectors

Nathaniel Smith njs at pobox.com
Tue Apr 14 19:16:27 EDT 2015


On Tue, Apr 14, 2015 at 3:48 PM, Neil Girdhar <mistersheik at gmail.com> wrote:
> Yes, I totally agree with you regarding np.sum and np.product, which is why
> I didn't suggest np.add.reduce, np.multiply.reduce.  I wasn't sure whether
> cumsum and cumprod might be on the line in your judgment.

Ah, I see. I think we should treat them the same for now -- all the
comments I made apply to a lesser or greater extent (in particular,
cumsum and cumprod both do the thing where they dispatch to .cumsum()
.cumprod() method).

-n

-- 
Nathaniel J. Smith -- http://vorpus.org



More information about the NumPy-Discussion mailing list