Previous topic

numpy.newbuffer

Next topic

numpy.restoredot

numpy.alterdot

numpy.alterdot()[source]

Change dot, vdot, and inner to use accelerated BLAS functions.

Typically, as a user of Numpy, you do not explicitly call this function. If Numpy is built with an accelerated BLAS, this function is automatically called when Numpy is imported.

When Numpy is built with an accelerated BLAS like ATLAS, these functions are replaced to make use of the faster implementations. The faster implementations only affect float32, float64, complex64, and complex128 arrays. Furthermore, the BLAS API only includes matrix-matrix, matrix-vector, and vector-vector products. Products of arrays with larger dimensionalities use the built in functions and are not accelerated.

Note

Deprecated in Numpy 1.10 The cblas functions have been integrated into the multarray module and alterdot now longer does anything. It will be removed in Numpy 1.11.0.

See also

restoredot
restoredot undoes the effects of alterdot.