[Numpy-discussion] alterdot and restoredot
Wed Jul 9 14:52:45 CDT 2008
On Wed, Jul 9, 2008 at 06:36, Anne Archibald <email@example.com> wrote:
> 2008/7/9 Robert Kern <firstname.lastname@example.org>:
>>> - Which operations do the functions exactly affect?
>>> It seems that alterdot sets the "dot" function slot to a BLAS
>>> version, but what operations does this affect?
>> dot(), vdot(), and innerproduct() on C-contiguous arrays which are
>> Matrix-Matrix, Matrix-Vector or Vector-Vector products.
> Really? Not, say, tensordot()?
If the ultimate dot() call inside tensordot() is one of the above
forms, then yes. If it's a 3D-3D product, for example, or one where
the shape manipulations leave the arrays discontiguous, then no.
"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