Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/_lib/array_api_compat/array_api_compat/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-23 06:43 +0000
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-23 06:43 +0000
1"""
2NumPy Array API compatibility library
4This is a small wrapper around NumPy and CuPy that is compatible with the
5Array API standard https://data-apis.org/array-api/latest/. See also NEP 47
6https://numpy.org/neps/nep-0047-array-api-standard.html.
8Unlike numpy.array_api, this is not a strict minimal implementation of the
9Array API, but rather just an extension of the main NumPy namespace with
10changes needed to be compliant with the Array API. See
11https://numpy.org/doc/stable/reference/array_api.html for a full list of
12changes. In particular, unlike numpy.array_api, this package does not use a
13separate Array object, but rather just uses numpy.ndarray directly.
15Library authors using the Array API may wish to test against numpy.array_api
16to ensure they are not using functionality outside of the standard, but prefer
17this implementation for the default when working with NumPy arrays.
19"""
20__version__ = '1.3'
22from .common import *