Search
Search Results
Search finished, found 16 page(s) matching the search query.
- numpy.gradient
...NumPy reference Routines and objects by topic Mathematical functions numpy.gradient...
- numpy.gradient (Python function, in numpy.gradient)
- Array iterator API
...terator and tack on one or more dimensions. For example, in order to generate a vector per input value for a numerical gradient, you pass in ndim*itemsize for itemsize, then add another dimension to the end with size ndim and stride itemsi...
- NumPy 1.11.0 Release Notes
...d function for float types modeled after the Python version has been added to the npy_math library. Improvements np.gradient now supports an axis argument The axis parameter was added to np.gradient for consistency. It allows to specif...
- NumPy 1.13.0 Release Notes
...duplicate N-1-dimensional elements using numpy.unique. The original behaviour is recovered if axis=None (default). np.gradient now supports unevenly spaced data Users can now specify a not-constant spacing for data. In particular np.gradi...
- NumPy 1.13.2 Release Notes
...to WIN32 blacklist. #9732 BUG: Make scalar function elision check if temp is writeable. #9736 BUG: Various fixes to np.gradient #9742 BUG: Fix np.pad for CVE-2017-12852 #9744 BUG: Check for exception in sort functions, add tests #9745 DOC:...
- NumPy 1.13.3 Release Notes
...to WIN32 blacklist. #9732 BUG: Make scalar function elision check if temp is writeable. #9736 BUG: Various fixes to np.gradient #9742 BUG: Fix np.pad for CVE-2017-12852 #9744 BUG: Check for exception in sort functions, add tests #9745 DOC:...
- NumPy 1.18.1 Release Notes
...run in Travis & Azure #15245: MAINT: only add –std=c99 where needed #15246: BUG: lib: Fix handling of integer arrays by gradient. #15247: MAINT: Do not use private Python function in testing #15250: REL: Prepare for the NumPy 1.18.1 release...
- NumPy 1.9.1 Release Notes
...lease Notes This is a bugfix only release in the 1.9.x series. Issues fixed gh-5184: restore linear edge behaviour of gradient to as it was in < 1.9. The second order behaviour is available via the edge_order keyword gh-4007: workaround A...
- NumPy 2.0.0 Release Notes
...TED_API. Add guards to hide it and consequently also make the PyArrayScalar_VAL macro hidden. (gh-25531) Changes np.gradient() now returns a tuple rather than a list making the return value immutable. (gh-23861) Being fully context and...
- NumPy for MATLAB users
...where a == P@L@U LU decomposition with partial pivoting (note: P(MATLAB) == transpose(P(NumPy))) conjgrad cg conjugate gradients solver fft(a) np.fft.fft(a) Fourier transform of a ifft(a) np.fft.ifft(a) inverse Fourier transform of a so...
- numpy.diff
...type of a in most cases. A notable exception is datetime64, which results in a timedelta64 output array. See also gradient, ediff1d, cumsum Notes Type is preserved for boolean arrays, so the result will contain False when consecutiv...
- numpy.ediff1d
...rences. Returns: ediff1dndarrayThe differences. Loosely, this is ary.flat[1:] - ary.flat[:-1]. See also diff, gradient Notes When applied to masked arrays, this function drops the mask information if the to_begin and/or to_end p...
- numpy.gradient
...NumPy reference Routines and objects by topic Mathematical functions numpy.gradient...
- numpy.isscalar
...as that will also return true for 0d arrays. This is how numpy overloads functions in the style of the dx arguments to gradient and the bins argument to histogram. Some key differences: x isscalar(x) np.ndim(x) == 0 PEP 3141 numeric o...
- numpy.linalg.lstsq
...[0, 1, 2, 3]) >>> y = np.array([-1, 0.2, 0.9, 2.1]) By examining the coefficients, we see that the line should have a gradient of roughly 1 and cut the y-axis at, more or less, -1. We can rewrite the line equation as y = Ap, where A = [[x...