Search
Searching
- numpy.broadcast.size
...numpy.broadcast.size...
- numpy.broadcast.size (Python attribute, in numpy.broadcast.size)
- Array API
...ray_STRIDE(PyArrayObject *arr, int n) Return the stride in the n \(^{\textrm{th}}\) dimension. npy_intp PyArray_ITEMSIZE(PyArrayObject *arr) Return the itemsize for the elements of this array. Note that, in the old API that was deprecat...
- Array iterator API
...ter; NpyIter_IterNextFunc *iternext; char** dataptr; npy_intp nonzero_count; npy_intp* strideptr,* innersizeptr; /* Handle zero-sized arrays specially */ if (PyArray_SIZE(self) == 0) { return 0; } /...
- Beyond the basics
...t is usually cast to PyArrayIterObject* so that its members can be accessed. The only members that are needed are iter->size which contains the total size of the array, iter->index, which contains the current 1-d index into the array, and i...
- Broadcasting
...ting array will have the same number of dimensions as the input array with the greatest number of dimensions, where the size of each dimension is the largest size of the corresponding dimension among the input arrays. Note that missing dim...
- Generalized universal function API
...and returns a scalar. By using the same name i, we specify that the two corresponding dimensions should be of the same size. The dimensions beyond the core dimensions are called “loop” dimensions. In the above example, this corresponds to...
- Iterating over arrays
...de chunks that are as large as possible to the inner loop. By forcing ‘C’ and ‘F’ order, we get different external loop sizes. This mode is enabled by specifying an iterator flag. Observe that with the default of keeping native memory order...
- Linear algebra (
numpy.linalg
)...s that if for instance given an input array a.shape == (N, M, M), it is interpreted as a “stack” of N matrices, each of size M-by-M. Similar specification applies to return values, for instance the determinant has det : (...) and will in th...
- NumPy 1.10.0 Release Notes
...dimensions are now required to be present in input arrays; core dimensions with the same label must have the exact same size; and output core dimension’s must be specified, either by a same label input core dimension or by a passed-in outpu...
- NumPy 1.10.2 Release Notes
...anging the shape. This effectively bars viewing a multidimensional Fortran array using a dtype that changes the element size along the first axis. The reason for the deprecation is that, when relaxed strides checking is enabled, arrays that...
- NumPy 1.11.0 Release Notes
- NumPy 1.12.0 Release Notes
- NumPy 1.13.0 Release Notes
- NumPy 1.15.0 Release Notes
...variance better No longer does an IQR of 0 result in n_bins=1, rather the number of bins chosen is related to the data size in this situation. The edges returned by histogram` and histogramdd now match the data float type When passed np....
- NumPy 1.16.0 Release Notes
...of complex types is now the same as a C-struct composed of two floating point values, while before it was equal to the size of the type. For many users (for instance on x64/unix/gcc) this means that complex64 is now 4-byte aligned instead...
- NumPy 1.17.0 Release Notes
...de like: npy_intp const fixed_dims[] = {1, 2, 3}; // no longer complains that the const-qualifier is discarded npy_intp size = PyArray_MultiplyList(fixed_dims, 3); New Features New extensible numpy.random module with selectable random...
- NumPy 1.18.0 Release Notes
- NumPy 1.20.0 Release Notes
- NumPy 1.22.0 Release Notes
...ames": ["a"], "formats": [int], "offsets": [2]}) is now dtype({'names': ['a'], 'formats': ['<i8'], 'offsets': [2], 'itemsize': 10}), whereas spaces where previously omitted after colons and between fields. The old behavior can be restored v...
- NumPy 1.23.0 Release Notes
...mensional indexing with anything but a tuple was deprecated in NumPy 1.15. (gh-21029) Changing to a dtype of different size in F-contiguous arrays is no longer permitted. Deprecated since Numpy 1.11.0. See below for an extended explanation...
- NumPy 1.24 Release Notes
....sort(a, axis=0) instead. (gh-22456) np.str0 and similar are now deprecated The scalar type aliases ending in a 0 bit size: np.object0, np.str0, np.bytes0, np.void0, np.int0, np.uint0 as well as np.bool8 are now deprecated and will eventu...
- NumPy 1.25.0 Release Notes
...precated. Use np.all instead. (gh-23314) Only ndim-0 arrays are treated as scalars. NumPy used to treat all arrays of size 1 (e.g., np.array([3.14])) as scalars. In the future, this will be limited to arrays of ndim 0 (e.g., np.array(3.1...
- NumPy 1.3.0 Release Notes
- NumPy 1.6.0 Release Notes
...o get the correct mapping of values without playing unnatural tricks with the domain. Fortran assumed shape array and size function support in numpy.f2py F2py now supports wrapping Fortran 90 routines that use assumed shape arrays. Befor...
- NumPy 1.7.0 Release Notes
- NumPy 1.8.1 Release Notes
- NumPy 1.9.0 Release Notes
...acked and an iterator is not buffered, it is possible to use NpyIter_RemoveAxis. In this case an iterator can shrink in size. Because the total size of an iterator is limited, the iterator may be too large before these calls. In this case i...
- NumPy 2.0.0 Release Notes
...: np.FLOATING_POINT_SUPPORT, np.FPE_*, np.NINF, np.PINF, np.NZERO, np.PZERO, np.CLIP, np.WRAP, np.WRAP, np.RAISE, np.BUFSIZE, np.UFUNC_BUFSIZE_DEFAULT, np.UFUNC_PYVALS_NAME, np.ALLOW_THREADS, np.MAXDIMS, np.MAY_SHARE_EXACT, np.MAY_SHARE_BOU...
- NumPy C code explanations
- NumPy C-API
- NumPy quickstart
- NumPy security
- numpy.all
- numpy.any
- numpy.argmax
- numpy.argmin
- numpy.average
- numpy.block
- numpy.broadcast
- numpy.broadcast.size
...numpy.broadcast.size...
- numpy.count_nonzero
- numpy.isin
- numpy.lib.stride_tricks.sliding_window_view
- numpy.linalg.matmul
- numpy.linalg.norm
- numpy.linalg.pinv
- numpy.linalg.svd
- numpy.ma.average
- numpy.ma.count
- numpy.ma.masked_array.count
- numpy.ma.masked_array.max
- numpy.ma.masked_array.min
- numpy.ma.masked_array.ptp
- numpy.ma.masked_array.var
- numpy.ma.MaskedArray.count
- numpy.ma.MaskedArray.max
- numpy.ma.MaskedArray.min
- numpy.ma.MaskedArray.ptp
- numpy.ma.MaskedArray.var
- numpy.ma.max