-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Common APIs across array libraries (1 year later) #187
Comments
Someone just proposed to add |
This issue is still useful; I'll remove the v2022 milestone given that we're done adding new APIs to that. The list of common APIs here is probably longer than the list of things that make sense to add. The content here can be used as reference - one data point in future API extension conversations. |
FYI of this list xarray currently uses: np.clip
np.diff
np.pad
np.repeat
np.take
np.tile |
Thanks @TomNicholas. take is implemented, and for The others need looking into, but seem to me to me among the most-often used numpy functions that we haven't included yet. |
SciPy has a usecase for the |
Thanks for the proposal @tirthasheshpatel! That seems reasonable, and now that there's an identified need we can prioritize it. @steff456 volunteered to dig into this one. |
Overview
Similar to gh-6, this issue looks to identify commonalities across array libraries, but only addresses those APIs which are not already included in the array API specification.
Since gh-6 and its analysis,
Method
Similar to gh-6, the list was compiled by doing the following:
The following libraries were analyzed:
APIs
The following APIs were found to be common across the above libraries, but not already included in the array API specification:
We can split the APIs into the following categories...
Array Manipulation
Special Functions
Reductions
Indexing
Other
Next Steps
The text was updated successfully, but these errors were encountered: