11.3.21. Miscellaneous routines¶
11.3.21.1. 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. |
11.3.21.2. 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. |
11.3.21.3. Memory ranges¶
shares_memory |
|
may_share_memory |
Determine if two arrays can share memory |
11.3.21.4. Numpy version comparison¶
lib.NumpyVersion(vstring) |
Parse and compare numpy version strings. |