[Numpy-discussion] subtract.reduce behavior

Alan G Isaac aisaac@american....
Tue Jul 27 15:46:42 CDT 2010

On 7/26/2010 9:41 AM, Johann Hibschman wrote:
> if reduce were defined as a *right*  fold, then it would make sense for
> subtract (and divide) to use the right identity

Instead of deviating from the Python definition of reduce,
it would imo make more sense to introduce new functions,
sayfoldl and fodlr.

Alan Isaac

More information about the NumPy-Discussion mailing list