On Wed, Jul 9, 2008 at 06:36, Anne Archibald <[EMAIL PROTECTED]> wrote: > 2008/7/9 Robert Kern <[EMAIL PROTECTED]>: > >>> - 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. -- 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 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion