8000 API: Add Array API aliases (math, bitwise, linalg, misc) [Array API] by mtsokol · Pull Request #25086 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

API: Add Array API aliases (math, bitwise, linalg, misc) [Array API] #25086

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

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

mtsokol
Copy link
Member
@mtsokol mtsokol commented Nov 7, 2023

Hi @rgommers @ngoldbaum,

This PR adds Array API compatible functions that are direct aliases of existing functions:

  • trigonometry: acos, acosh, asin, asinh, atan, atanh, atan2
  • bitwise: bitwise_left_shift, bitwise_invert, bitwise_right_shift
  • linalg: tensordot, matmul
  • misc: concat, permute_dims, pow

Tracking issue: #25076

@mtsokol mtsokol self-assigned this Nov 7, 2023
@mtsokol mtsokol changed the title API: Add Array API aliases (math, bitwise, misc) API: Add Array API aliases (math, bitwise, misc) [Array API] Nov 7, 2023
Copy link
Member
@ngoldbaum ngoldbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a language tweak for the release note

@ngoldbaum
Copy link
Member

Looks good to me. Since this has only been open for two days and it's adding new things to the public API I'm going to wait until next week to merge this. In the meantime if anyone has any issues with adding these new aliases please let us know.

@mtsokol mtsokol changed the title API: Add Array API aliases (math, bitwise, misc) [Array API] API: Add Array API aliases (math, bitwise, linalg, misc) [Array API] Nov 15, 2023
@mtsokol mtsokol force-pushed the array-api-aliases branch 2 times, most recently from 84a5b5a to c6c5c7a Compare November 29, 2023 11:03
@mtsokol mtsokol added this to the 2.0.0 release milestone Nov 29, 2023
@ngoldbaum
Copy link
Member

This one has conflicts too! Sorry about not merging this in timely manner like I said I would a month ago.

@mtsokol mtsokol force-pushed the array-api-aliases branch 2 times, most recently from 3236f0f to 7b077e2 Compare December 6, 2023 10:15
@mtsokol
Copy link
Member Author
mtsokol commented Dec 6, 2023

I rebased it, now CI is green!

mtsokol and others added 3 commits December 8, 2023 15:07
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
@ngoldbaum
Copy link
Member

OK, let's pull this one in next. Thanks @mtsokol!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0