[Numpy-discussion] Simple multi-arg wrapper for dot()

Robert Kern robert.kern at gmail.com
Sat Mar 24 16:49:00 EDT 2007


Bill Baxter wrote:
> On 3/24/07, Anne Archibald <peridot.faceted at gmail.com> wrote:

>> You could do this, and for your
>> own code maybe it's worth it, but I think it would be confusing in the
>> library.
> 
> Could be.  Doesn't seem so confusing to me as long as it's documented
> clearly in the docstring, but YMMV.

I don't know. Given our previous history with convenience functions with
different calling semantics (anyone remember rand()?), I think it probably will
confuse some people.

I'd really like to see it on a cookbook page, though. I'd use it.

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