Search
Searching
- numpy.ndarray.real
...NumPy reference Array objects The N-dimensional array (ndarray) numpy.ndarray.real...
- numpy.ndarray.real (Python attribute, in numpy.ndarray.real)
- How to contribute to the NumPy documentation
...an 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 available. H...
- Indexing on
ndarrays
...11]) This difference is the most important thing to remember about indexing with multiple advanced indices. Example A real-life example of where advanced indexing may be useful is for a color lookup table where we want to map the values o...
- Memory alignment
...ligned. For example, on a (typical Linux x64 GCC) system, the NumPy complex64 datatype is implemented as struct { float real, imag; }. This has “true” alignment of 4 and “uint” alignment of 8 (equal to the true alignment of uint64). Some c...
- NumPy 1.10.0 Release Notes
...hen linking libraries This should, at least partially, complete user customization. np.cbrt to compute cube root for real floats np.cbrt wraps the C99 cube root function cbrt. Compared to np.power(x, 1./3.) it is well defined for negativ...
- NumPy 1.13.0 Release Notes
...t the expected behavior both according to documentation and intuitively. Now, -inf < x < inf is considered True for any real number x and all other cases fail. assert_array_ and masked arrays assert_equal hide less warnings Some warnings...
- NumPy 1.14.0 Release Notes
...oded bytes to custom converters. Using any other value (including None for system default) will switch the functions to real text IO so one receives unicode strings instead of bytes in the resulting arrays. External nose plugins are usabl...
- NumPy 1.17.0 Release Notes
...ns \(O(N log N)\) run time complexity instead of deteriorating towards \(O(N*N)\) for prime lengths. Also, accuracy for real valued FFTs with near prime lengths has improved and is on par with complex valued FFTs. Further improvements to...
- NumPy 1.20.0 Release Notes
...d "Complex32" corresponds to "complex64". The numpy style (new) versions, denote the full size and not the size of the real/imaginary part. (gh-16554) The operator.concat function now raises TypeError for array arguments The previous beh...
- NumPy 1.21.0 Release Notes
...the last element. Also for complex arrays all NaN values are considered equivalent (no matter whether the NaN is in the real or imaginary part). As the representant for the returned array the smallest one in the lexicographical order is cho...
- NumPy 1.21.1 Release Notes
...this release. #19311: REV,BUG: Replace NotImplemented with typing.Any #19324: MAINT: Fixed the return-dtype of ndarray.real and imag #19330: MAINT: Replace "dtype[Any]" with dtype in the definition of… #19342: DOC: Fix some docstrings that...
- NumPy 1.25.0 Release Notes
...ower now returns a different result for 0^{non-zero} for complex numbers. Note that the value is only defined when the real part of the exponent is larger than zero. Previously, NaN was returned unless the imaginary part was strictly zero....
- NumPy 1.4.0 Release Notes
...ticeably faster (from 20 to 30 % depending on the platform and computer) The sort functions now sort nans to the end. Real sort order is [R, nan] Complex sort order is [R + Rj, R + nanj, nan + Rj, nan + nanj] Complex numbers with the sa...
- NumPy 1.5.0 Release Notes
...rray(), asarray() and other functions accept new-style buffers as input. New features Warning on casting complex to real Numpy now emits a numpy.ComplexWarning when a complex number is cast into a real number. For example: >>> x = np.ar...
- NumPy 2.0 migration guide
...ypes remains identical to the types used in NumPy 1.x, the API is slightly different, since direct field access (like c.real or c.imag) is no longer possible. It is recommended to use the functions npy_creal and npy_cimag (and the correspon...
- NumPy 2.0.0 Release Notes
...option for Python >=3.12. For older Python versions, f2py will still default to --backend distutils. To support this in realistic use-cases, in compile mode f2py takes a --dep flag one or many times which maps to dependency() calls in the m...
- NumPy for MATLAB users
- NumPy quickstart
- numpy.acos
- numpy.acosh
- numpy.angle
- numpy.arange
- numpy.arccos
- numpy.arccosh
- numpy.arcsin
- numpy.arcsinh
- numpy.arctan
- numpy.arctan2
- numpy.arctanh
- numpy.argpartition
- numpy.argsort
- numpy.asin
- numpy.asinh
- numpy.atan
- numpy.atan2
- numpy.atanh
- numpy.char.chararray.astype
- numpy.char.chararray.byteswap
- numpy.corrcoef
- numpy.emath.arccos
- numpy.emath.arcsin
- numpy.emath.arctanh
- numpy.emath.log
- numpy.emath.log10
- numpy.emath.log2
- numpy.emath.sqrt
- numpy.exp
- numpy.fft.fft
- numpy.fft.fftn
- numpy.fft.hfft
- numpy.fft.ifft
- numpy.fft.ifftn
- numpy.fft.ihfft
- numpy.fft.irfft
- numpy.fft.irfft2
- numpy.fft.irfftn
- numpy.fft.rfft
- numpy.fft.rfft2
- numpy.fft.rfftn
- numpy.fmax