Skip to content

Commit 0e4d4e7

Browse files
committed
Auto-generated commit
1 parent 2c5bcdc commit 0e4d4e7

File tree

10 files changed

+21
-6
lines changed

10 files changed

+21
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,9 @@ A total of 26 issues were closed in this release:
598598

599599
<details>
600600

601+
- [`08a671a`](https://github.com/stdlib-js/stdlib/commit/08a671a9e339db0bfbd5953891c9a9c3e1f5beb2) - **docs:** add note _(by Athan Reines)_
602+
- [`e49d1a0`](https://github.com/stdlib-js/stdlib/commit/e49d1a00ad07054f006f0a9a3fd52dbce217ea84) - **docs:** add note _(by Athan Reines)_
603+
- [`4583470`](https://github.com/stdlib-js/stdlib/commit/45834700742e84b03646e769e94d498ee66c65b4) - **docs:** add note _(by Athan Reines)_
601604
- [`d55cb4b`](https://github.com/stdlib-js/stdlib/commit/d55cb4bbda9f3810f92a2535fdbb60a62c60e161) - **docs:** add missing decimals _(by Athan Reines)_
602605
- [`607adbe`](https://github.com/stdlib-js/stdlib/commit/607adbe9aba4c11a689408c62930ca3901db5f7d) - **chore:** minor clean-up _(by Philipp Burckhardt)_
603606
- [`29d3bbb`](https://github.com/stdlib-js/stdlib/commit/29d3bbb5241884d149b000c3a76d59227686728f) - **chore:** fix C lint errors [(#8157)](https://github.com/stdlib-js/stdlib/pull/8157) _(by GeoDaoyu, Athan Reines)_

base/pop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ arr = ndarray2array( y[ 1 ] );
7171

7272
The function accepts the following arguments:
7373

74-
- **x**: input ndarray.
74+
- **x**: input ndarray. Must have one or more dimensions.
7575
- **dim**: dimension along which to perform the operation. If provided an integer less than zero, the dimension index is resolved relative to the last dimension, with the last dimension corresponding to the value `-1`.
7676
- **writable**: boolean indicating whether a returned ndarray should be writable.
7777

base/pop/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Parameters
77
----------
88
x: ndarray
9-
Input ndarray.
9+
Input ndarray. Must have one or more dimensions.
1010

1111
dim: integer
1212
Dimension along which to perform the operation. If provided an integer

base/pop/docs/types/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ import { ndarray } from '@stdlib/types/ndarray';
2525
/**
2626
* Returns an array containing a truncated view of an input ndarray and a view of the last element(s) along a specified dimension.
2727
*
28+
* ## Notes
29+
*
30+
* - The input array must have one or more dimensions.
31+
*
2832
* @param x - input array
2933
* @param dim - dimension along which to perform the operation
3034
* @param writable - boolean indicating whether returned arrays should be writable

base/shift/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ arr = ndarray2array( y[ 1 ] );
7171

7272
The function accepts the following arguments:
7373

74-
- **x**: input ndarray.
74+
- **x**: input ndarray. Must have one or more dimensions.
7575
- **dim**: dimension along which to perform the operation. If provided an integer less than zero, the dimension index is resolved relative to the last dimension, with the last dimension corresponding to the value `-1`.
7676
- **writable**: boolean indicating whether a returned ndarray should be writable.
7777

base/shift/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Parameters
77
----------
88
x: ndarray
9-
Input array.
9+
Input array. Must have one or more dimensions.
1010

1111
dim: integer
1212
Dimension along which to perform the operation. If provided an integer

base/shift/docs/types/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ import { ndarray } from '@stdlib/types/ndarray';
2626
/**
2727
* Returns an array containing a truncated view of an input ndarray and a view of the first element(s) along a specified dimension.
2828
*
29+
* ## Notes
30+
*
31+
* - The input array must have one or more dimensions.
32+
*
2933
* @param x - input array
3034
* @param dim - dimension along which to perform the operation
3135
* @param writable - boolean indicating whether returned arrays should be writable

pop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ arr = ndarray2array( y[ 1 ] );
6868

6969
The function accepts the following arguments:
7070

71-
- **x**: input ndarray.
71+
- **x**: input ndarray. Must have one or more dimensions.
7272
- **options**: function options. (_optional_)
7373

7474
The function supports the following `options`:

pop/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Parameters
77
----------
88
x: ndarray
9-
Input ndarray.
9+
Input ndarray. Must have one or more dimensions.
1010

1111
options: Object (optional)
1212
Options.

pop/docs/types/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ interface Options {
3939
/**
4040
* Returns an array containing a read-only truncated view of an input ndarray and a read-only view of the last element(s) along a specified dimension.
4141
*
42+
* ## Notes
43+
*
44+
* - The input array must have one or more dimensions.
45+
*
4246
* @param x - input array
4347
* @param options - function options
4448
* @param options.dim - dimension along which to perform the operation

0 commit comments

Comments
 (0)