diff options
author | Aaron Meurer <asmeurer@gmail.com> | 2021-01-11 16:03:43 -0700 |
---|---|---|
committer | Aaron Meurer <asmeurer@gmail.com> | 2021-01-11 16:03:43 -0700 |
commit | 012343dec5599418b77512733fc5b8db6bc14c4c (patch) | |
tree | 13ef3a6bfdcd603036baaf8d65d1647eea749afc /numpy/_array_api/constants.py | |
parent | 33dc7bea24f1ab6c47047b49521e732caeb485d5 (diff) | |
download | numpy-012343dec5599418b77512733fc5b8db6bc14c4c.tar.gz |
Add initial array_api sub-namespace
This is based on the function stubs from the array API test suite, and is
currently based on the assumption that NumPy already follows the array API
standard. Now it needs to be modified to fix it in the places where NumPy
deviates (for example, different function names for inverse trigonometric
functions).
Diffstat (limited to 'numpy/_array_api/constants.py')
-rw-r--r-- | numpy/_array_api/constants.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/_array_api/constants.py b/numpy/_array_api/constants.py new file mode 100644 index 000000000..000777029 --- /dev/null +++ b/numpy/_array_api/constants.py @@ -0,0 +1,3 @@ +from .. import e, inf, nan, pi + +__all__ = ['e', 'inf', 'nan', 'pi'] |