Search
Search Results
Search finished, found 93 page(s) matching the search query.
- numpy.ma.MaskType.ndim
...numpy.ma.MaskType.ndim...
- numpy.ma.MaskType.ndim (Python attribute, in numpy.ma.MaskType.ndim)
- NumPy 1.10.2 Release Notes
...treated as C contiguous which breaks some code that depended the two being mutually exclusive for non-scalar arrays of ndim > 1. This deprecation prepares the way to always enable relaxed stride checking. Issues Fixed gh-6019 Masked ar...
- NumPy 1.13.0 Release Notes
...tch the behavior of np.conjugate, which throws an error). Calling expand_dims when the axis keyword does not satisfy -a.ndim - 1 <= axis <= a.ndim, where a is the array being reshaped, is deprecated. Future Changes Assignment between st...
- NumPy 1.18.0 Release Notes
...of PyArray_AsCArray (gh-14036) np.rank has been removed. This was deprecated in NumPy 1.10 and has been replaced by np.ndim. (gh-14039) The deprecation of expand_dims out-of-range axes in 1.13.0 has expired. (gh-14051) PyArray_FromDimsAndD...
- NumPy 1.22.0 Release Notes
...nt.bit_count or popcount in C++. >>> np.uint32(1023).bit_count() 10 >>> np.int32(-127).bit_count() 7 (gh-19355) The ndim and axis attributes have been added to numpy.AxisError The ndim and axis parameters are now also stored as attribut...
- NumPy 1.25.0 Release Notes
....sometrue is deprecated. Use np.any instead. (gh-23314) np.alltrue is deprecated. 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...
- NumPy 1.9.0 Release Notes
...nctions can now be specified using the dtype parameter. More general np.triu and np.tril broadcasting For arrays with ndim exceeding 2, these functions will now apply to the final two axes instead of raising an exception. tobytes alias...
- numpy.ma.atleast_1d
...s: arys1, arys2, …array_likeOne or more input arrays. Returns: retndarrayAn array, or tuple of arrays, each with a.ndim >= 1. Copies are made only if necessary. See also atleast_2d, atleast_3d Notes The function is applied to b...
- numpy.ma.atleast_2d
...dy have two or more dimensions are preserved. Returns: res, res2, …ndarrayAn array, or tuple of arrays, each with a.ndim >= 2. Copies are avoided where possible, and views with two or more dimensions are returned. See also atleast...
- numpy.ma.atleast_3d
...have three or more dimensions are preserved. Returns: res1, res2, …ndarrayAn array, or tuple of arrays, each with a.ndim >= 3. Copies are avoided where possible, and views with three or more dimensions are returned. For example, a 1-D...
- numpy.ma.expand_dims
...expanded axes where the new axis (or axes) is placed. Deprecated since version 1.13.0: Passing an axis where axis > a.ndim will be treated as axis == a.ndim, and passing axis < -a.ndim - 1 will be treated as axis == 0. This behavior is de...
- numpy.ma.inner
.... For vectors (1-D arrays) it computes the ordinary inner-product: np.inner(a, b) = sum(a[:]*b[:]) More generally, if ndim(a) = r > 0 and ndim(b) = s > 0: np.inner(a, b) = np.tensordot(a, b, axes=(-1,-1)) or explicitly: np.inner(a, b)[i...
- numpy.ma.innerproduct
.... For vectors (1-D arrays) it computes the ordinary inner-product: np.inner(a, b) = sum(a[:]*b[:]) More generally, if ndim(a) = r > 0 and ndim(b) = s > 0: np.inner(a, b) = np.tensordot(a, b, axes=(-1,-1)) or explicitly: np.inner(a, b)[i...
- numpy.ma.is_mask
...turn True if m is a valid, standard mask. This function does not check the contents of the input, only that the type is MaskType. In particular, this function returns False if the mask has a flexible dtype. Parameters: marray_likeArray to...
- numpy.ma.make_mask
...all its values are False. dtypedtype, optionalData-type of the output mask. By default, the output mask has a dtype of MaskType (bool). If the dtype is flexible, each field has a boolean dtype. This is ignored when m is nomask, in which ca...
- numpy.ma.make_mask_none
...type. Parameters: newshapetupleA tuple indicating the shape of the mask. dtype{None, dtype}, optionalIf None, use a MaskType instance. Otherwise, use a new datatype with the same fields as dtype, converted to boolean types. Returns:...
- numpy.ma.masked_array.ctypes
...nter to a deallocated array, and should be spelt (a + b).ctypes.data_as(ctypes.c_void_p) _ctypes.shape (c_intp*self.ndim): A ctypes array of length self.ndim where the basetype is the C-integer corresponding to dtype('p') on this platfo...
- numpy.ma.masked_array.ndim
...numpy.ma.masked_array.ndim...
- numpy.ma.MaskedArray.ctypes
...nter to a deallocated array, and should be spelt (a + b).ctypes.data_as(ctypes.c_void_p) _ctypes.shape (c_intp*self.ndim): A ctypes array of length self.ndim where the basetype is the C-integer corresponding to dtype('p') on this platfo...
- numpy.ma.MaskedArray.ndim
...Array objects Masked arrays Constants of the numpy.ma module numpy.ma.MaskedArray.ndim...
- numpy.ma.MaskType
...NumPy reference NumPy’s module structure Masked array operations numpy.ma.MaskType...
- numpy.ma.MaskType.all
...numpy.ma.MaskType.all...
- numpy.ma.MaskType.any
...numpy.ma.MaskType.any...
- numpy.ma.MaskType.argmax
...numpy.ma.MaskType.argmax...
- numpy.ma.MaskType.argmin
...numpy.ma.MaskType.argmin...
- numpy.ma.MaskType.argsort
...numpy.ma.MaskType.argsort...
- numpy.ma.MaskType.astype
...numpy.ma.MaskType.astype...
- numpy.ma.MaskType.base
...numpy.ma.MaskType.base...
- numpy.ma.MaskType.byteswap
...numpy.ma.MaskType.byteswap...
- numpy.ma.MaskType.choose
...numpy.ma.MaskType.choose...
- numpy.ma.MaskType.clip
...numpy.ma.MaskType.clip...
- numpy.ma.MaskType.compress
...numpy.ma.MaskType.compress...
- numpy.ma.MaskType.conj
...numpy.ma.MaskType.conj...
- numpy.ma.MaskType.conjugate
...numpy.ma.MaskType.conjugate...
- numpy.ma.MaskType.copy
...numpy.ma.MaskType.copy...
- numpy.ma.MaskType.cumprod
...numpy.ma.MaskType.cumprod...
- numpy.ma.MaskType.cumsum
...numpy.ma.MaskType.cumsum...
- numpy.ma.MaskType.data
...numpy.ma.MaskType.data...
- numpy.ma.MaskType.device
...numpy.ma.MaskType.device...
- numpy.ma.MaskType.diagonal
...numpy.ma.MaskType.diagonal...
- numpy.ma.MaskType.dtype
...numpy.ma.MaskType.dtype...
- numpy.ma.MaskType.dump
...numpy.ma.MaskType.dump...
- numpy.ma.MaskType.dumps
...numpy.ma.MaskType.dumps...
- numpy.ma.MaskType.fill
...numpy.ma.MaskType.fill...
- numpy.ma.MaskType.flags
...numpy.ma.MaskType.flags...
- numpy.ma.MaskType.flat
...numpy.ma.MaskType.flat...
- numpy.ma.MaskType.flatten
...numpy.ma.MaskType.flatten...
- numpy.ma.MaskType.getfield
...numpy.ma.MaskType.getfield...
- numpy.ma.MaskType.imag
...numpy.ma.MaskType.imag...
- numpy.ma.MaskType.item
...numpy.ma.MaskType.item...
- numpy.ma.MaskType.itemset
...numpy.ma.MaskType.itemset...
- numpy.ma.MaskType.itemsize
...numpy.ma.MaskType.itemsize...
- numpy.ma.MaskType.max
...numpy.ma.MaskType.max...
- numpy.ma.MaskType.mean
...numpy.ma.MaskType.mean...
- numpy.ma.MaskType.min
...numpy.ma.MaskType.min...
- numpy.ma.MaskType.nbytes
...numpy.ma.MaskType.nbytes...
- numpy.ma.MaskType.ndim
...numpy.ma.MaskType.ndim...
- numpy.ma.MaskType.newbyteorder
...numpy.ma.MaskType.newbyteorder...
- numpy.ma.MaskType.nonzero
...numpy.ma.MaskType.nonzero...
- numpy.ma.MaskType.prod
...numpy.ma.MaskType.prod...
- numpy.ma.MaskType.ptp
...numpy.ma.MaskType.ptp...
- numpy.ma.MaskType.put
...numpy.ma.MaskType.put...
- numpy.ma.MaskType.ravel
...numpy.ma.MaskType.ravel...
- numpy.ma.MaskType.real
...numpy.ma.MaskType.real...
- numpy.ma.MaskType.repeat
...numpy.ma.MaskType.repeat...
- numpy.ma.MaskType.reshape
...numpy.ma.MaskType.reshape...
- numpy.ma.MaskType.resize
...numpy.ma.MaskType.resize...
- numpy.ma.MaskType.round
...numpy.ma.MaskType.round...
- numpy.ma.MaskType.searchsorted
...numpy.ma.MaskType.searchsorted...
- numpy.ma.MaskType.setfield
...numpy.ma.MaskType.setfield...
- numpy.ma.MaskType.setflags
...numpy.ma.MaskType.setflags...
- numpy.ma.MaskType.shape
...numpy.ma.MaskType.shape...
- numpy.ma.MaskType.size
...numpy.ma.MaskType.size...
- numpy.ma.MaskType.sort
...numpy.ma.MaskType.sort...
- numpy.ma.MaskType.squeeze
...numpy.ma.MaskType.squeeze...
- numpy.ma.MaskType.std
...numpy.ma.MaskType.std...
- numpy.ma.MaskType.strides
- numpy.ma.MaskType.sum
- numpy.ma.MaskType.swapaxes
- numpy.ma.MaskType.T
- numpy.ma.MaskType.take
- numpy.ma.MaskType.to_device
- numpy.ma.MaskType.tobytes
- numpy.ma.MaskType.tofile
- numpy.ma.MaskType.tolist
- numpy.ma.MaskType.tostring
- numpy.ma.MaskType.trace
- numpy.ma.MaskType.transpose
- numpy.ma.MaskType.var
- numpy.ma.MaskType.view
- numpy.ma.ndim
- Glossary