Skip to content

Commit a42e827

Browse files
committed
docs: update copy
1 parent 6c70364 commit a42e827

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/array_api_stubs/_draft/linear_algebra_functions.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def matmul(x1: array, x2: array, /) -> array:
4141
4242
Raises
4343
------
44-
45-
- if either ``x1`` or ``x2`` is a zero-dimensional array.
46-
- if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
47-
- if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
48-
- if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
49-
- if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
44+
Error
45+
- if either ``x1`` or ``x2`` is a zero-dimensional array.
46+
- if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
47+
- if ``x1`` is a one-dimensional array having shape ``(K,)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
48+
- if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is a one-dimensional array having shape ``(L,)``, and ``K != L``.
49+
- if ``x1`` is an array having shape ``(..., M, K)``, ``x2`` is an array having shape ``(..., L, N)``, and ``K != L``.
5050
5151
Notes
5252
-----
@@ -152,8 +152,8 @@ def vecdot(x1: array, x2: array, /, *, axis: int = -1) -> array:
152152
153153
Raises
154154
------
155-
156-
- if the size of the axis over which to compute the dot product is not the same (before broadcasting) for both ``x1`` and ``x2``.
155+
Error
156+
- if the size of the axis over which to compute the dot product is not the same (before broadcasting) for both ``x1`` and ``x2``.
157157
158158
Notes
159159
-----

0 commit comments

Comments
 (0)