Numarray
An Open Source project
Previous:
22.8 Memmap methods
Up:
22. Memory Mapping
Next:
Appendix
22.9 MemmapSlice methods
A
MemmapSlice
object represents a subregion of a
Memmap
and has these public methods:
__buffer__
(
)
Returns an object which supports the Python buffer protocol and represents this slice. The Python buffer protocol enables a C function to obtain the pointer and size corresponding to the data region of the slice.
resize
(
newsize
)
resize
expands or contracts this slice to the specified
newsize
.
Numarray
An Open Source project
Previous:
22.8 Memmap methods
Up:
22. Memory Mapping
Next:
Appendix
Release 1.3, documentation updated on April 20, 2005.
Send comments to the
NumArray community
.