SciPy

Miscellaneous routines

Buffer objects

getbuffer(obj [,offset[, size]]) Create a buffer object from the given object referencing a slice of length size starting at offset.
newbuffer(size) Return a new uninitialized buffer object.

Performance tuning

alterdot() Change dot, vdot, and inner to use accelerated BLAS functions.
restoredot() Restore dot, vdot, and innerproduct to the default non-BLAS implementations.
setbufsize(size) Set the size of the buffer used in ufuncs.
getbufsize() Return the size of the buffer used in ufuncs.