Skip to content
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

API: Add svdvals to numpy.linalg [Array API] #24940

Merged
merged 1 commit into from Dec 5, 2023

Conversation

mtsokol
Copy link
Member

@mtsokol mtsokol commented Oct 17, 2023

This PR contains next Array API compatibility change. It adds numpy.linalg.svdvals (similar to scipy.linalg.svdvals) with docs taken from Array API specification.

@mtsokol mtsokol self-assigned this Oct 17, 2023
@mtsokol mtsokol force-pushed the array-api-svdvals branch 3 times, most recently from 3ea2567 to 71fe26a Compare October 23, 2023 10:03
numpy/linalg/_linalg.py Outdated Show resolved Hide resolved
numpy/linalg/_linalg.py Outdated Show resolved Hide resolved
@mtsokol mtsokol force-pushed the array-api-svdvals branch 2 times, most recently from 28491ac to cb1e230 Compare October 25, 2023 08:42
numpy/linalg/tests/test_linalg.py Outdated Show resolved Hide resolved
numpy/linalg/tests/test_linalg.py Show resolved Hide resolved
numpy/linalg/_linalg.py Show resolved Hide resolved
doc/release/upcoming_changes/24940.new_feature.rst Outdated Show resolved Hide resolved
@mtsokol mtsokol force-pushed the array-api-svdvals branch 2 times, most recently from 8d1d5f5 to 9bccf09 Compare October 26, 2023 16:38
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.

Looks good to me! I'll wait for @charris or someone else to look this over before merging since this is new API.

@ngoldbaum
Copy link
Member

This has a conflict that needs to be fixed

@ngoldbaum
Copy link
Member

In it goes, thanks @mtsokol!

@ngoldbaum ngoldbaum merged commit 544e54f into numpy:main Dec 5, 2023
60 of 62 checks passed
@mtsokol mtsokol deleted the array-api-svdvals branch April 3, 2024 09:34
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.

None yet

4 participants