Search
Search Results
Search finished, found 18 page(s) matching the search query.
- numpy.matrix.imag
...numpy.matrix.imag...
- numpy.matrix.imag (Python attribute, in numpy.matrix.imag)
- Array creation
...but for which it is not hard to convert are those formats supported by libraries like PIL (able to read and write many image formats such as jpg, png, etc). Common ASCII formats Delimited files such as comma separated value (csv) and tab...
- How to contribute to the NumPy documentation
...or if you can only come up with a rough draft. Open source is a community effort. Do your best – we’ll help fix issues. Images and real-life data make text more engaging and powerful, but be sure what you use is appropriately licensed and a...
- Internal organization of NumPy arrays
...ng issue. This section will try to explain in detail how NumPy indexing works and why we adopt the convention we do for images, and when it may be appropriate to adopt other conventions. The first thing to understand is that there are two c...
- NumPy 1.13.0 Release Notes
...et 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 np.imag used to return array objects when provided a scala...
- NumPy 2.0.0 Release Notes
...directly retrieve or write the real or complex part of the complex number, since direct field access (as in c.real or c.imag) is no longer an option. You can now use utilities provided in numpy/npy_math.h to do these operations, like this:...
- NumPy 2.2.0 Release Notes
...). It is further safe now to call the scalar __array_wrap__ on a non-scalar result. (gh-27807) Bump the musllinux CI image and wheels to 1_2 from 1_1. This is because 1_1 is end of life. (gh-27088) NEP 50 promotion state option removed...
- NumPy quickstart
..., argmin, argsort, max, min, ptp, searchsorted, sort Operationschoose, compress, cumprod, cumsum, inner, ndarray.fill, imag, prod, put, putmask, real, sum Basic Statisticscov, mean, std, var Basic Linear Algebracross, dot, outer, linalg....
- numpy.char.chararray
...e of the array’s elements. flagsInformation about the memory layout of the array. flatA 1-D iterator over the array. imagThe imaginary part of the array. itemset itemsizeLength of one array element in bytes. mTView of the matrix transp...
- numpy.matrix
...e of the array’s elements. flagsInformation about the memory layout of the array. flatA 1-D iterator over the array. imagThe imaginary part of the array. itemset itemsizeLength of one array element in bytes. mTView of the matrix transp...
- numpy.matrix.imag
...numpy.matrix.imag...
- numpy.recarray
...e of the array’s elements. flagsInformation about the memory layout of the array. flatA 1-D iterator over the array. imagThe imaginary part of the array. itemset itemsizeLength of one array element in bytes. mTView of the matrix transp...
- NumPy: the absolute basics for beginners
...at the official documentation. For directions regarding installing Matplotlib, see the official installation section. Image credits: Jay Alammar https://jalammar.github.io/...
- The N-dimensional array (
ndarray
)...ts. Other attributes ndarray.T View of the transposed array. ndarray.real The real part of the array. ndarray.imag The imaginary part of the array. ndarray.flat A 1-D iterator over the array. Array interface See also The a...
- Using Python as glue
...uble complex[:] c = out.ravel() for i in range(c.shape[0]): c[i].real = a[i].real + b[i].real c[i].imag = a[i].imag + b[i].imag return out This module shows use of the cimport statement to load the definitions fr...
- Array API
..., and can be used to iter over a neighborhood of a point. For example, you may want to iterate over every voxel of a 3d image, and for every such voxel, iterate over an hypercube. Neighborhood iterator automatically handle boundaries, thus...
- Troubleshooting
...he environment claims it can support one or more of these features but actually cannot. This can happen inside a docker image or a VM (qemu, VMWare, …) You can use the output of np.show_runtime() to show which SIMD features are detected. Fo...