Skip to content

Commit

Permalink
regen test
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Dec 24, 2023
1 parent 3d5c80f commit 3f9e29d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions papyri/tests/expected/numpy:einsum.expected
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ output : ndarray
## Notes

┌──────────────────────────────────────────────────────────────────────────────┐
(i): versionadded 1.6.0 │
|?|: versionadded 1.6.0 │
└──────────────────────────────────────────────────────────────────────────────┘
The Einstein summation convention can be used to compute many
multi-dimensional, linear algebraic array operations. `einsum` provides a
Expand Down Expand Up @@ -149,15 +149,15 @@ implicit mode, otherwise it will be performed explicitly. The examples below
have corresponding `einsum` calls with the two parameter methods.

┌──────────────────────────────────────────────────────────────────────────────┐
(i): versionadded 1.10.0 │
|?|: versionadded 1.10.0 │
└──────────────────────────────────────────────────────────────────────────────┘
Views returned from einsum are now writeable whenever the input array is
writeable. For example, np.einsum('ijk...->kji...', a) will now have the same
effect as np.swapaxes(a, 0, 2) <numpy.swapaxes> and np.einsum('ii->i', a) will
return a writeable view of the diagonal of a 2D array.

┌──────────────────────────────────────────────────────────────────────────────┐
(i): versionadded 1.12.0 │
|?|: versionadded 1.12.0 │
└──────────────────────────────────────────────────────────────────────────────┘
Added the optimize argument which will optimize the contraction order of an
einsum expression. For a contraction with three or more operands this can
Expand Down
8 changes: 4 additions & 4 deletions papyri/tests/expected/numpy:linspace.expected
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Returns num evenly spaced samples, calculated over the interval [`start`, stop
The endpoint of the interval can optionally be excluded.

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
(i): versionchanged 1.16.0 ┃
|?|: versionchanged 1.16.0 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Non-scalar start and stop are now supported. │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
(i): versionchanged 1.20.0 ┃
|?|: versionchanged 1.20.0 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Values are rounded towards -inf instead of 0 when an integer dtype is │
│ specified. The old behavior can still be obtained with np.linspace(start, │
Expand Down Expand Up @@ -52,15 +52,15 @@ dtype : dtype, optional
`float` is chosen even if the arguments would produce an array of integers.

┌────────────────────────────────────────────────────────────────────────────┐
(i): versionadded 1.9.0 │
|?|: versionadded 1.9.0 │
└────────────────────────────────────────────────────────────────────────────┘
axis : int, optional
The axis in the result to store the samples. Relevant only if start or stop
are array-like. By default (0), the samples will be along a new axis
inserted at the beginning. Use -1 to get an axis at the end.

┌────────────────────────────────────────────────────────────────────────────┐
(i): versionadded 1.16.0 │
|?|: versionadded 1.16.0 │
└────────────────────────────────────────────────────────────────────────────┘
## Returns

Expand Down

0 comments on commit 3f9e29d

Please sign in to comment.