Search
Searching.
- numpy.greater
...NumPy reference Routines and objects by topic Logic functions numpy.greater...
- numpy.greater_equal
...NumPy reference Routines and objects by topic Logic functions numpy.greater_equal...
- numpy.char.greater (Python function, in numpy.char.greater)
- numpy.greater (Python data, in numpy.greater)
- numpy.strings.greater (Python data, in numpy.strings.greater)
- Array iterator API
...ecked, not a forced shape. NPY_ITER_REDUCE_OK Permits writeable operands with a dimension with zero stride and size greater than one. Note that such operands must be read/write. When buffering is enabled, this also switches to a specia...
- Data type promotion in NumPy
...on will always be of an equal or higher kind of any of the inputs. Furthermore, the result will always have a precision greater than or equal to those of the inputs. Already, this can lead to some examples which may be unexpected: When mix...
- Data types
...Data types See also Data type objects Array types and conversions between types NumPy supports a much greater variety of numerical types than Python does. This section shows which are available, and how to modify an array’...
- NumPy 1.12.0 Release Notes
...n the masked median ma.median now emits a Runtime warning and returns NaN in slices where an unmasked NaN is present. Greater consistency in assert_almost_equal The precision check for scalars has been changed to match that for arrays. It...
- NumPy 1.13.0 Release Notes
...offset attribute in a memmap object is now set to the offset into the file. This is a behaviour change only for offsets greater than mmap.ALLOCATIONGRANULARITY. np.real and np.imag return scalars for scalar inputs Previously, np.real and...
- NumPy 1.16.0 Release Notes
...on-glibc distributions like Alpine Linux as long as they ship fenv.h. Speedup np.block for large arrays Large arrays (greater than 512 * 512) now use a blocking algorithm based on copying the data directly into the appropriate slice of th...
- NumPy 1.24 Release Notes
...e following operations: rint, floor, trunc, ceil, sqrt, absolute, square, reciprocal, tanh, sin, cos, equal, not_equal, greater, greater_equal, less, less_equal, maximum, minimum, fmax, fmin, argmax, argmin, add, subtract, multiply, divide....
- NumPy 1.4.0 Release Notes
...xtended array wrapping mechanism for ufuncs An __array_prepare__ method has been added to ndarray to provide subclasses greater flexibility to interact with ufuncs and ufunc-like functions. ndarray already provided __array_wrap__, which all...
- NumPy 1.8.0 Release Notes
...ay. All elements before k are then smaller or equal than the value in position k and all elements following k are then greater or equal than the value in position k. The ordering of the values within these bounds is undefined. A sequence o...
- NumPy 2.0 migration guide
...implemented as ufuncs. The old numpy.char namespace still is available, and, wherever possible, uses the new ufuncs for greater performance. We recommend using the strings functions going forward. The char namespace may be deprecated in the...
- NumPy benchmarks
...display the results in plain text in the console, and the results are not saved for comparison with future commits. For greater control, a graphical view, and to have results saved for future comparison you can run ASV commands (record resu...
- NumPy C code explanations
...) is the \(k^{\textrm{th}}\) element of \(i\) along the selected axis. This basic operation is repeated for arrays with greater than 1 dimension so that the reduction takes place for every 1-D sub-array along the selected axis. An iterator...
- numpy.arange
...s ceil((stop - start)/step). Because of floating point overflow, this rule may result in the last element of out being greater than stop. Warning The length of the output might not be numerically stable. Another stability issue is due...
- numpy.char.equal
...f str or unicodeInput arrays of the same shape. Returns: outndarrayOutput array of bools. See also not_equal, greater_equal, less_equal, greater, less Examples >>> import numpy as np >>> y = "aa " >>> x = "aa" >>> np.char.equal(...
- numpy.char.greater
...erence NumPy’s module structure Legacy fixed-width string functionality numpy.char.greater...
- numpy.char.greater_equal
...erence NumPy’s module structure Legacy fixed-width string functionality numpy.char.greater_equal...
- numpy.char.less
...numpy.char.less char.less(x1, x2)[source] Return (x1 < x2) element-wise. Unlike numpy.greater, this comparison is performed by first stripping whitespace characters from the end of the string. This behavio...
- numpy.char.less_equal
...r unicodeInput arrays of the same shape. Returns: outndarrayOutput array of bools. See also equal, not_equal, greater_equal, greater, less Examples >>> import numpy as np >>> x1 = np.array(['a', 'b', 'c']) >>> np.char.less_equal...
- numpy.char.not_equal
...ke of str or unicodeInput arrays of the same shape. Returns: outndarrayOutput array of bools. See also equal, greater_equal, less_equal, greater, less Examples >>> import numpy as np >>> x1 = np.array(['a', 'b', 'c']) >>> np.cha...
- numpy.choose
...above; if mode='clip', values in a (and thus Ba) may be any (signed) integer; negative integers are mapped to 0; values greater than n-1 are mapped to n-1; and then the new array is constructed as above. Parameters: aint arrayThis array...
- numpy.clip
...n are replaced with a_min, and those > a_max with a_max. See also Output type determination Notes When a_min is greater than a_max, clip returns an array in which all values are equal to a_max, as shown in the second example. Exampl...
- numpy.dsplit
...plit is equivalent to split with axis=2, the array is always split along the third axis provided the array dimension is greater than or equal to 3. See also splitSplit an array into multiple sub-arrays of equal size. Examples >>> impor...
- numpy.equal
...of type bool, unless dtype=object is passed. This is a scalar if both x1 and x2 are scalars. See also not_equal, greater_equal, less_equal, greater, less Examples >>> import numpy as np >>> np.equal([0, 1, 3], np.arange(3)) array([...
- numpy.expm1
...his is a scalar if x is a scalar. See also log1plog(1 + x), the inverse of expm1. Notes This function provides greater precision than exp(x) - 1 for small values of x. Examples The true value of exp(1e-10) - 1 is 1.00000000005e-10...
- numpy.greater
...NumPy reference Routines and objects by topic Logic functions numpy.greater...
- numpy.greater_equal
...NumPy reference Routines and objects by topic Logic functions numpy.greater_equal...
- numpy.in1d
...=’sort’ if the following relationship is true: log10(len(ar2)) > (log10(max(ar2)-min(ar2)) - 2.27) / 0.927, but may use greater memory. The default value for kind will be automatically selected based only on memory usage, so one may manuall...
- numpy.isin
...ionship is true: log10(len(test_elements)) > (log10(max(test_elements)-min(test_elements)) - 2.27) / 0.927, but may use greater memory. The default value for kind will be automatically selected based only on memory usage, so one may manuall...
- numpy.less
.... Typically of type bool, unless dtype=object is passed. This is a scalar if both x1 and x2 are scalars. See also greater, less_equal, greater_equal, equal, not_equal Examples >>> import numpy as np >>> np.less([1, 2], [2, 2]) array...
- numpy.less_equal
.... Typically of type bool, unless dtype=object is passed. This is a scalar if both x1 and x2 are scalars. See also greater, less, greater_equal, equal, not_equal Examples >>> import numpy as np >>> np.less_equal([4, 2, 1], [2, 2, 2])...
- numpy.linalg.lstsq
...be under-, well-, or over-determined (i.e., the number of linearly independent rows of a can be less than, equal to, or greater than its number of linearly independent columns). If a is square and of full rank, then x (but for round-off err...
- numpy.linalg.matrix_rank
...] Return matrix rank of array using SVD method Rank of the array is the number of singular values of the array that are greater than tol. Parameters: A{(M,), (…, M, N)} array_likeInput vector or stack of matrices. tol(…) array_like, floa...
- numpy.linalg.qr
...real/complex. The determinant may be either +/- 1 in that case. In case the number of dimensions in the input array is greater than 2 then a stack of the matrices with above properties is returned. Rndarray of float or complex, optionalTh...
- numpy.ma.arange
...s ceil((stop - start)/step). Because of floating point overflow, this rule may result in the last element of out being greater than stop. Warning The length of the output might not be numerically stable. Another stability issue is due...
- numpy.ma.clip
...n are replaced with a_min, and those > a_max with a_max. See also Output type determination Notes When a_min is greater than a_max, clip returns an array in which all values are equal to a_max, as shown in the second example. Exampl...
- numpy.ma.masked_array.partition
...n the output array, all elements smaller than the k-th element are located to the left of this element and all equal or greater are located to its right. The ordering of the elements in the two partitions on the either side of the k-th elem...
- numpy.ma.masked_array.ptp
...gers with n bits (e.g. np.int8, np.int16, etc) is also a signed integer with n bits. In that case, peak-to-peak values greater than 2**(n-1)-1 will be returned as negative values. An example with a work-around is shown below. Parameters:...
- numpy.ma.masked_greater
...NumPy reference NumPy’s module structure Masked array operations numpy.ma.masked_greater...
- numpy.ma.masked_greater_equal
...NumPy reference NumPy’s module structure Masked array operations numpy.ma.masked_greater_equal...
- numpy.ma.masked_where
...t_equalMask where not equal to a given value. masked_less_equalMask where less than or equal to a given value. masked_greater_equalMask where greater than or equal to a given value. masked_lessMask where less than a given value. masked_...
- numpy.ma.MaskedArray.ptp
...gers with n bits (e.g. np.int8, np.int16, etc) is also a signed integer with n bits. In that case, peak-to-peak values greater than 2**(n-1)-1 will be returned as negative values. An example with a work-around is shown below. Parameters:...
- numpy.ma.ptp
...gers with n bits (e.g. np.int8, np.int16, etc) is also a signed integer with n bits. In that case, peak-to-peak values greater than 2**(n-1)-1 will be returned as negative values. An example with a work-around is shown below. Parameters:...
- numpy.ma.round
...ry parts of complex numbers are rounded separately. Nothing is done if the array is not of float type and ‘decimals’ is greater than or equal to 0. Parameters: decimalsintNumber of decimals to round to. May be negative. outarray_likeExis...
- numpy.ma.round_
...ry parts of complex numbers are rounded separately. Nothing is done if the array is not of float type and ‘decimals’ is greater than or equal to 0. Parameters: decimalsintNumber of decimals to round to. May be negative. outarray_likeExis...
- numpy.ma.squeeze
...le of ints, optionalSelects a subset of the entries of length one in the shape. If an axis is selected with shape entry greater than one, an error is raised. Returns: squeezedMaskedArrayThe input array, but with all or a subset of the d...
- numpy.matrix.partition
...n the output array, all elements smaller than the k-th element are located to the left of this element and all equal or greater are located to its right. The ordering of the elements in the two partitions on the either side of the k-th elem...
- numpy.matrix.squeeze
...tuple of ints, optionalSelects a subset of the axes of length one in the shape. If an axis is selected with shape entry greater than one, an error is raised. Returns: squeezedmatrixThe matrix, but as a (1, N) matrix if it had shape (N,...
- numpy.memmap
...the ndarray memory layout: row-major, C-style or column-major, Fortran-style. This only has an effect if the shape is greater than 1-D. The default order is ‘C’. See also lib.format.open_memmapCreate or load a memory-mapped .npy fi...
- numpy.memmap.partition
...n the output array, all elements smaller than the k-th element are located to the left of this element and all equal or greater are located to its right. The ordering of the elements in the two partitions on the either side of the k-th elem...
- numpy.ndarray.partition
...n the output array, all elements smaller than the k-th element are located to the left of this element and all equal or greater are located to its right. The ordering of the elements in the two partitions on the either side of the k-th elem...
- numpy.not_equal
- numpy.ogrid
- numpy.pad
- numpy.partition
- numpy.polynomial.chebyshev.chebgrid2d
- numpy.polynomial.chebyshev.chebgrid3d
- numpy.polynomial.chebyshev.chebroots
- numpy.polynomial.chebyshev.chebval2d
- numpy.polynomial.chebyshev.chebval3d
- numpy.polynomial.chebyshev.Chebyshev.cutdeg
- numpy.polynomial.chebyshev.Chebyshev.trim
- numpy.polynomial.hermite.hermgrid2d
- numpy.polynomial.hermite.hermgrid3d
- numpy.polynomial.hermite.Hermite.cutdeg
- numpy.polynomial.hermite.Hermite.trim
- numpy.polynomial.hermite.hermroots
- numpy.polynomial.hermite.hermval2d
- numpy.polynomial.hermite.hermval3d
- numpy.polynomial.hermite_e.hermegrid2d
- numpy.polynomial.hermite_e.hermegrid3d
- numpy.polynomial.hermite_e.hermeroots
- numpy.polynomial.hermite_e.hermeval2d
- numpy.polynomial.hermite_e.hermeval3d
- numpy.polynomial.hermite_e.HermiteE.cutdeg
- numpy.polynomial.hermite_e.HermiteE.trim
- numpy.polynomial.laguerre.laggrid2d
- numpy.polynomial.laguerre.laggrid3d
- numpy.polynomial.laguerre.lagroots
- numpy.polynomial.laguerre.Laguerre.cutdeg
- numpy.polynomial.laguerre.Laguerre.trim
- numpy.polynomial.laguerre.lagval2d
- numpy.polynomial.laguerre.lagval3d
- numpy.polynomial.legendre.Legendre.cutdeg
- numpy.polynomial.legendre.Legendre.trim
- numpy.polynomial.legendre.leggrid2d
- numpy.polynomial.legendre.leggrid3d
- numpy.polynomial.legendre.legroots
- numpy.polynomial.legendre.legval2d
- numpy.polynomial.legendre.legval3d
- numpy.polynomial.polynomial.polygrid2d
- numpy.polynomial.polynomial.polygrid3d
- numpy.polynomial.polynomial.Polynomial.cutdeg