Numarray
An Open Source project
Previous:
21.8 Memmap methods
Up:
21. Memory Mapping
Next:
Appendix
21.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:
21.8 Memmap methods
Up:
21. Memory Mapping
Next:
Appendix
Release 1.1, documentation updated on September 10, 2004.
Send comments to the
NumArray community
.