38 Commits
Author SHA1 Message Date
Saransh Chopra 888a58ec25 specify NumPy version 2025-05-11 11:48:30 +01:00
Saransh Chopra e3d860d51f 2024.12 is now supported 2025-05-10 21:26:20 +01:00
Saransh Chopra e079318212 better formatting 2025-04-02 13:37:58 +01:00
Saransh Chopra 9f6a4d9f87 2024.12 support is in progress 2025-04-02 13:37:05 +01:00
Saransh Chopra e23bd3360e DOC: update array API standard version in compatibility page 2025-04-02 12:38:38 +01:00
Dimitri Papadopoulos c7a9216878 DOC: fix typos found by codespell in documentation 2024-07-06 15:36:09 +02:00
Anne Gunn c2cc9ac34f DOC: Change selected hardlinks to NEPs to intersphinx mappings
This commit changes links to NEPs from explicit https urls to intersphinx :ref:s.
Selected files are 'actual doc files' (my phrase), not release notes,
change logs, or the NEPs themselves.

These change are a first installment towards addressing #26707.

[skip actions] [skip azp] [skip cirrus]
2024-07-02 22:30:51 +03:00
Aaron Meurer d2700907b8 Add inspection functions to Sphinx 2024-05-31 15:54:08 -06:00
Ralf Gommers dc1dbdbfa5 DOC: update the page on array API standard compatibility 2024-03-03 16:30:12 +01:00
Mateusz Sokół 906010e173 API: Introduce copy argument for np.asarray 2024-02-29 13:07:22 +01:00
Ralf Gommers ad360324db Merge pull request #25370 from asmeurer/array_api-portability
ENH: Make `numpy.array_api` more portable
2024-01-21 22:21:12 +01:00
Nathan Goldbaum 9ec07cdfd4 Merge pull request #25233 from mtsokol/numpy-device
API: Add ``device`` and ``to_device`` to ``numpy.ndarray`` [Array API]
2024-01-18 09:20:57 -07:00
Mateusz Sokół 45409236a4 API: Introduce correction argument for np.var and np.std 2024-01-17 14:33:15 +01:00
Mateusz Sokół 26cd48fd45 API: Add device and to_device to ndarray 2024-01-17 11:39:16 +01:00
Aaron Meurer 61f97f07b7 Merge branch 'main' into array_api-portability 2024-01-16 16:18:44 -07:00
Mateusz Sokół dfe7fd6114 API: Adjust linalg.pinv and linalg.cholesky to Array API 2023-12-21 10:54:13 +01:00
Mateusz Sokół dd913aa533 API: add matrix_norm, vector_norm, vecdot and matrix_transpose 2023-12-14 13:53:48 +01:00
Aaron Meurer 84a4605a96 Update some items in the array_api compatibility document 2023-12-11 17:08:56 -07:00
Mateusz Sokół 0c3cad6ebe API: Add matmul to linalg 2023-12-08 15:09:24 +01:00
Mateusz Sokół 2c5603c215 API: Add tensordot to linalg 2023-12-08 15:07:09 +01:00
7f9549b915 API: Add a batch of Array API aliases
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
2023-12-08 15:07:07 +01:00
Mateusz SokółandBas van Beek a585d24c56 API: Introduce numpy.astype
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
2023-12-06 11:33:57 +01:00
Nathan Goldbaum e726718c46 Merge branch 'main' into array-api-outer 2023-12-05 10:51:27 -07:00
Mateusz Sokół 66f8518be4 API: Add outer to numpy.linalg 2023-12-05 18:34:00 +01:00
Mateusz Sokół 49fccbc1f1 API: Add svdvals to numpy.linalg 2023-12-05 18:04:48 +01:00
Nathan Goldbaum 0d288824a5 Merge pull request #25088 from mtsokol/array-api-setops
API: Add Array API setops [Array API]
2023-12-05 09:37:44 -07:00
Mateusz Sokół cd9f69a727 API: Add cross to numpy.linalg 2023-11-29 13:00:33 +01:00
Mateusz Sokół f7f950981f API: Add Array API setops 2023-11-29 12:06:17 +01:00
Matt Haberland a7f7138b9b DOC: standardize capitalization of headings (#25016)
Closes gh-16261.

gh-16261 reported that documentation headings currently have inconsistent capitalization schemes and should be standardized.
2023-11-02 16:33:01 +01:00
Aaron Meurer a674050057 DOC: Some updates to the array_api compat document (#22747)
* Add reshape differences to the array API compat document

* Add an item to the array API compat document about reverse broadcasting

* Make some wording easier to read
2022-12-06 17:48:32 -07:00
Dimitri Papadopoulos 8551018184 MAINT: Fix typos found by codespell 2022-10-07 10:21:11 +02:00
Aaron Meurer 827dac7439 Mention positional-only arguments in the array API compatibility doc
I forgot to mention them, but they are important because this would be a
breaking change.
2022-06-08 17:21:22 -06:00
Aaron Meurer 14c0a35d68 Small updates to the array_api docs
These items were not clear in the original PR #21260 but have since been
clarified.
2022-04-11 16:03:15 -06:00
Aaron Meurer 3b38438951 Note that keyword arguments with different defaults are breaking
This applies even of the name changed, because it affects the case where no
keyword is passed.
2022-03-30 13:51:18 -06:00
Aaron Meurer be1f91cf54 Update review comments on the array API document 2022-03-29 15:05:30 -06:00
Aaron Meurer 9bd3b6e8f3 Add a note about the array API copy flag to reshape (which is not yet implemented) 2022-03-29 12:02:11 -06:00
Aaron Meurer a3624db8ed Address review comments in the array API documentation 2022-03-29 11:44:29 -06:00
Aaron Meurer d29368ea60 Add a document that enumerates the differences between numpy and numpy.array_api
This is a more organized presentation of the various "Note" comments in
numpy/array_api.

In particular, each difference is notated as to whether it is a strictness
difference (no change in NumPy needed), a compatible change (NumPy can change
in a backwards compatible way), or a breaking change (NumPy would need to
break backwards compatibility to match the spec).
2022-03-28 20:33:40 -06:00