Search
Search Results
Search finished, found 14 page(s) matching the search query.
- numpy.memmap.strides
...numpy.memmap.strides...
- numpy.memmap.strides (Python attribute, in numpy.memmap.strides)
- NumPy 1.10.2 Release Notes
...ous build and release improvements. Numpy 1.10.1 supports Python 2.6 - 2.7 and 3.2 - 3.5. Compatibility notes Relaxed stride checking is no longer the default There were back compatibility problems involving views changing the dtype of mu...
- NumPy 1.12.0 Release Notes
...rather than have special exceptions for the integer units. If you need negative powers, use an inexact type. Relaxed stride checking is the default This will have some impact on code that assumed that F_CONTIGUOUS and C_CONTIGUOUS were m...
- NumPy 1.13.0 Release Notes
...ote that NumPy allocation will not show up in tracemalloc of earlier Python versions. NumPy may be built with relaxed stride checking debugging Setting NPY_RELAXED_STRIDES_DEBUG=1 in the environment when relaxed stride checking is enabled...
- NumPy 1.25.0 Release Notes
...cfunctions.structured_to_unstructured returns views in more cases structured_to_unstructured now returns a view, if the stride between the fields is constant. Prior, padding between the fields or a reversed field would lead to a copy. This...
- NumPy 1.7.2 Release Notes
...gh-576: add __len__ method to ma.mvoid gh-3364: reduce performance regression of mmap slicing gh-3421: fix non-swapping strided copies in GetStridedCopySwap gh-3373: fix small leak in datetime metadata initialization gh-2791: add platform s...
- NumPy 2.0.0 Release Notes
...ls. Please open an issue if you think a mistake was made and something needs to be made public. (gh-24634) The “relaxed strides” debug build option, which was previously enabled through the NPY_RELAXED_STRIDES_DEBUG environment variable or...
- numpy.memmap.ctypes
...se arrays when calling shared libraries with the ctypes module. The returned object has, among others, data, shape, and strides attributes (see Notes below) which themselves return ctypes objects that can be used as arguments to a shared li...
- numpy.memmap.flags
...his is clear for 1-dimensional arrays, but can also be true for higher dimensional arrays. Even for contiguous arrays a stride for a given dimension arr.strides[dim] may be arbitrary if arr.shape[dim] == 1 or the array has no elements. It d...
- numpy.memmap.setflags
...user: WRITEBACKIFCOPY, WRITEABLE, and ALIGNED. WRITEABLE (W) the data area can be written to; ALIGNED (A) the data and strides are aligned appropriately for the hardware (as determined by the compiler); WRITEBACKIFCOPY (X) this array is a...
- numpy.memmap.strides
...numpy.memmap.strides...
- Structured arrays
...exed field, so it is typically a non-structured array, except in the case of nested structures. >>> y.dtype, y.shape, y.strides (dtype('float32'), (2,), (12,)) If the accessed field is a subarray, the dimensions of the subarray are append...
- Subclassing ndarray
...s np class InfoArray(np.ndarray): def __new__(subtype, shape, dtype=float, buffer=None, offset=0, strides=None, order=None, info=None): # Create the ndarray instance of our type, given the usual # ndarr...