-
Notifications
You must be signed in to change notification settings - Fork 51
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 #6
Comments
For 1) so this listing excludes these functions, right? Should we manually alias them to get a more complete list? Also, shouldn't we also look at the complement, i.e. all the other functions that are not in each library and list in which libraries they are? |
@amueller Yes, we can compile the list of alternate aliases and the complement. Will add to the next steps! Thanks! |
@amueller Quick update:
|
Update: based on the record data from @saulshanabrook (discussed in #5), I've generated the API intersection, but ranked according to relative usage across various downstream libraries. You can find the data here. |
Update: I've added a Jupyter notebook containing some preliminary analysis of the common API surface across various array libraries. See here. |
This is all done, and https://github.com/data-apis/array-api-comparison holds the up-to-date data and tooling. So I'll close this. |
Overview
To help further the discussion of what array APIs should be included in the standard, I've compiled a (WIP) list of common APIs across various array libraries.
This list should provide some indication as to API importance from the library development perspective based on API curation and need and should summarize current existing practice.
Goal
Method
I compiled the list by doing the following:
The following libraries were analyzed:
APIs
The following APIs were found to be common across the above libraries (using NumPy's naming conventions):
We can split these APIs into various categories as follows...
Array Creation
Array Manipulation
Special Functions
Trigonometry
Complex Numbers
Reductions
Linear Algebra
Indexing
Next Steps
Questions
absolute
vsabs
). Are there APIs which should be aliased differently?ufuncs
) and reductions?apply
,reduce
)?Feedback is welcome. :)
The text was updated successfully, but these errors were encountered: