summaryrefslogtreecommitdiff
path: root/numpy/_array_api/_creation_functions.py
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-02-26 17:41:18 -0700
committerAaron Meurer <asmeurer@gmail.com>2021-02-26 17:46:18 -0700
commit892b536a36b89f362a845fd50959d6474ec2c5f4 (patch)
tree9fb32216466242fd04b56d914477f6121be6dc6f /numpy/_array_api/_creation_functions.py
parent587613f056299766be2da00a64b5fa0ac31c84aa (diff)
downloadnumpy-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