Next topic




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.


Deprecated in NumPy 1.10.0 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 undoes the effects of alterdot.