summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-04-12 09:56:53 +0300
committerGitHub <noreply@github.com>2022-04-12 09:56:53 +0300
commitb991d0992a56272531e18613cc26b0ba085459ef (patch)
tree3bd65ebd395f723e42826438458584b62ba14cd1 /doc/source/reference
parentaed6c57f7fa7343a637c4373ca4624389472827a (diff)
parent14c0a35d68b98e56d75c6b0ee1f7fd45db32c3c9 (diff)
downloadnumpy-b991d0992a56272531e18613cc26b0ba085459ef.tar.gz
Merge pull request #21327 from asmeurer/array-api-doc-updates
Small updates to the array_api docs
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/array_api.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/source/reference/array_api.rst b/doc/source/reference/array_api.rst
index 494cbad65..a6a8619da 100644
--- a/doc/source/reference/array_api.rst
+++ b/doc/source/reference/array_api.rst
@@ -624,11 +624,8 @@ Linear Algebra Differences
* - ``cholesky`` includes an ``upper`` keyword argument.
- **Compatible**
-
- * - ``cross`` does not broadcast its arguments.
- - ???
- -
* - ``cross`` does not allow size 2 vectors (only size 3).
- - ???
+ - **Breaking**
-
* - ``diagonal`` operates on the last two axes.
- **Breaking**
@@ -663,7 +660,9 @@ Linear Algebra Differences
<https://data-apis.org/array-api/latest/API_specification/generated/signatures.linear_algebra_functions.matrix_transpose.html#signatures.linear_algebra_functions.matrix_transpose>`__
* - ``outer`` only supports 1-dimensional arrays.
- **Breaking**
- -
+ - The spec currently only specifies behavior on 1-D arrays but future
+ behavior will likely be to broadcast, rather than flatten, which is
+ what ``np.outer`` does.
* - ``pinv`` has an ``rtol`` keyword argument instead of ``rcond``
- **Breaking**
- The meaning of ``rtol`` and ``rcond`` is the same, but the default