diff options
author | Aaron Meurer <asmeurer@gmail.com> | 2021-02-26 17:41:18 -0700 |
---|---|---|
committer | Aaron Meurer <asmeurer@gmail.com> | 2021-02-26 17:46:18 -0700 |
commit | 892b536a36b89f362a845fd50959d6474ec2c5f4 (patch) | |
tree | 9fb32216466242fd04b56d914477f6121be6dc6f /numpy/_array_api/_creation_functions.py | |
parent | 587613f056299766be2da00a64b5fa0ac31c84aa (diff) | |
download | numpy-892b536a36b89f362a845fd50959d6474ec2c5f4.tar.gz |
Only allow the spec guaranteed dtypes in the array API elementwise functions
The array API namespace is designed to be only those parts of specification
that are required. So many things that work in NumPy but are not required by
the array API specification will not work in the array_api namespace
functions. For example, transcendental functions will only work with
floating-point dtypes, because those are the only dtypes required to work by
the array API specification.
Diffstat (limited to 'numpy/_array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions