[Numpy-discussion] odd performance of sum?

Robert Kern robert.kern at gmail.com
Thu Feb 10 15:59:37 EST 2011


On Thu, Feb 10, 2011 at 14:51, Joshua Holbrook <josh.holbrook at gmail.com> wrote:
> Maybe I'm missing something, but why not just implement sum() using
> dot() and ones() ?

You can't do everything that sum() does with just dot() and ones().

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