Search
Searching.
- Data type API
...NumPy reference NumPy C-API Data type API...
- PyUFunc_RegisterLoopForType.data (C function parameter, in ufunc API)
- Array API
...NumPy reference NumPy C-API Array API...
- Array iterator API
...NumPy reference NumPy C-API Array iterator API...
- Beyond the basics
...NumPy user guide Using NumPy C-API Beyond the basics...
- Data type API
...NumPy reference NumPy C-API Data type API...
- Data types
...mPy using import numpy as np you can create arrays with a specified dtype using the scalar types in the numpy top-level API, e.g. numpy.bool, numpy.float32, etc. These scalar types as arguments to the dtype keyword that many numpy functions...
- Datetime API
...NumPy reference NumPy C-API Datetime API...
- Generalized universal function API
...NumPy reference NumPy C-API Generalized universal function API...
- Iterating over arrays
...ner loop in Cython. Since the Python exposure of nditer is a relatively straightforward mapping of the C array iterator API, these ideas will also provide help working with array iteration from C or C++. Single array iteration The most bas...
- NpyString API
...NumPy reference NumPy C-API NpyString API...
- NumPy 1.10.0 Release Notes
...turn will now be a base ndarray. Subclasses can still override this behavior by providing their own nonzero method. C API The changes to swapaxes also apply to the PyArray_SwapAxes C function, which now returns a view in all cases. The ch...
- NumPy 1.11.0 Release Notes
...ivisor is zero, divmod(1.0, inf) returns (0.0, 1.0) except on MSVC 2008, and divmod(-1.0, inf) returns (-1.0, inf). C API Removed the check_return and inner_loop_selector members of the PyUFuncObject struct (replacing them with reserved s...
- NumPy 1.12.0 Release Notes
...v5.6.0 has been added. While not complete (nditer updateifcopy is not supported yet), this is a milestone for PyPy’s C-API compatibility layer. Build System Changes Library order is preserved, instead of being reordered to match that o...
- NumPy 1.13.0 Release Notes
...iside function. New np.isin function, improves on in1d. New np.block function for creating blocked arrays. New PyArray_MapIterArrayCopyIfOverlap added to NumPy C-API. See below for details. Deprecations Calling np.fix, np.isposinf, and...
- NumPy 1.14.0 Release Notes
...iguously with control of rounding and padding. PyArray_ResolveWritebackIfCopy and PyArray_SetWritebackIfCopyBase, new C-API functions useful in achieving PyPy compatibility. Deprecations Using np.bool_ objects in place of integers is de...
- NumPy 1.15.0 Release Notes
...might return a different result. Use np.sum(np.from_iter(generator)) or the built-in Python sum instead. Users of the C-API should call PyArrayResolveWriteBackIfCopy or PyArray_DiscardWritebackIfCopy on any array with the WRITEBACKIFCOPY fl...
- NumPy 1.16.0 Release Notes
...ray_ops and numpy.get_array_ops functions are deprecated. As part of NEP 15, they have been deprecated along with the C-API functions PyArray_SetNumericOps and PyArray_GetNumericOps. Users who wish to override the inner loop functions in bu...
- NumPy 1.16.4 Release Notes
...OpenBLAS, OpenBLAS > v0.3.7. The supported Python versions are 2.7 and 3.5-3.7. New deprecations Writeable flag of C-API wrapped arrays When an array is created from the C-API to wrap a pointer to data, the only indication we have of the...
- NumPy 1.17.0 Release Notes
...lternatives. Replace exec_command with subprocess.Popen and temp_file_name with tempfile.mkstemp. Writeable flag of C-API wrapped arrays When an array is created from the C-API to wrap a pointer to data, the only indication we have of the...
- NumPy 1.18.0 Release Notes
...Py 1.18.0 Release Notes In addition to the usual bug fixes, this NumPy release cleans up and documents the new random C-API, expires a large number of old deprecations, and improves the appearance of the documentation. The Python versions s...
- NumPy 1.20.0 Release Notes
- NumPy 1.21.0 Release Notes
- NumPy 1.22.0 Release Notes
- NumPy 1.24 Release Notes
- NumPy 1.25.0 Release Notes
- NumPy 1.26.0 Release Notes
- NumPy 1.4.0 Release Notes
- NumPy 1.6.0 Release Notes
- NumPy 1.8.0 Release Notes
- NumPy 1.9.0 Release Notes
- NumPy 2.0 migration guide
- NumPy 2.0.0 Release Notes
- NumPy 2.1.0 Release Notes
- NumPy C-API
- NumPy reference
- numpy.i: a SWIG interface file for NumPy
- Python types and C-structures
- Scalars
- Signature file
- System configuration
- Testing guidelines
- The array interface protocol
- Typing (
numpy.typing
) - ufunc API
- Universal functions (
ufunc
) basics - Using F2PY bindings in Python
- Using NumPy C-API
- NPY_DEFAULT_TYPE (C enumerator, in Data type API)
- NPY_NOTYPE (C macro, in Data type API)
- NPY_NTYPES_LEGACY (C macro, in Data type API)
- NPY_TYPES (C enum, in Data type API)
- NPY_TYPES.NPY_DEFAULT_TYPE (C enumerator, in Data type API)
- NpyAuxData (C type, in Array API)
- NpyAuxData_CloneFunc (C type, in Array API)
- NpyAuxData_FreeFunc (C type, in Array API)
- PyArray_DatetimeMetaData (C type, in Datetime API)
- PyArray_RegisterDataType (C function, in Array API)
- PyArray_RegisterDataType.dtype (C function parameter, in Array API)
- PyArray_SimpleNewFromData.typenum (C function parameter, in Array API)
- PyDataType_ALIGNENT (C function, in Array API)
- PyDataType_C_METADATA (C function, in Array API)
- PyDataType_ELSIZE (C function, in Array API)
- PyDataType_FIELDS (C function, in Array API)
- PyDataType_HASFIELDS (C function, in Array API)
- PyDataType_ISBOOL (C function, in Array API)
- PyDataType_ISCOMPLEX (C function, in Array API)
- PyDataType_ISEXTENDED (C function, in Array API)
- PyDataType_ISFLEXIBLE (C function, in Array API)
- PyDataType_ISFLOAT (C function, in Array API)
- PyDataType_ISINTEGER (C function, in Array API)
- PyDataType_ISNUMBER (C function, in Array API)
- PyDataType_ISOBJECT (C function, in Array API)
- PyDataType_ISSIGNED (C function, in Array API)
- PyDataType_ISSTRING (C function, in Array API)
- PyDataType_ISUNSIGNED (C function, in Array API)
- PyDataType_ISUNSIZED (C function, in Array API)
- PyDataType_ISUSERDEF (C function, in Array API)
- PyDataType_METADATA (C function, in Array API)
- PyDataType_NAMES (C function, in Array API)
- PyDataType_SET_ELSIZE (C function, in Array API)
- PyDataType_SUBARRAY (C function, in Array API)
- PyUFunc_FromFuncAndData.ntypes (C function parameter, in ufunc API)
- PyUFunc_FromFuncAndData.types (C function parameter, in ufunc API)
- PyUFunc_FromFuncAndDataAndSignature.ntypes (C function parameter, in ufunc API)
- PyUFunc_FromFuncAndDataAndSignature.types (C function parameter, in ufunc API)
- PyUFunc_FromFuncAndDataAndSignatureAndIdentity.ntypes (C function parameter, in ufunc API)
- PyUFunc_FromFuncAndDataAndSignatureAndIdentity.types (C function parameter, in ufunc API)
- PyUFunc_On_Om.PyUFunc_PyFuncData (C type, in ufunc API)
- Advanced F2PY use cases
- Contributing to NumPy
- F2PY user guide and reference manual
- How to contribute to the NumPy documentation
- How to extend NumPy
- Interoperability with NumPy
- Memory management in NumPy
- NPY_TYPES.NPY_BOOL (C enumerator, in Data type API)
- NPY_TYPES.NPY_BYTE (C enumerator, in Data type API)
- NPY_TYPES.NPY_CDOUBLE (C enumerator, in Data type API)
- NPY_TYPES.NPY_CFLOAT (C enumerator, in Data type API)