Skip to content

Commit 7c1d6cd

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent e381264 commit 7c1d6cd

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/node_modules/@stdlib/ndarray/base/to-rot90/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ The function accepts the following arguments:
7171
## Notes
7272

7373
- If `k > 0`, the function rotates the plane from the first specified dimension toward the second specified dimension. This means that, for a two-dimensional ndarray and `dims = [0, 1]`, the function rotates the plane counterclockwise.
74-
- If `k < 0`, the function rotates the plane from the second specified dimension toward the first specified dimension. This means that, for a two-dimensional ndarray and `dims = [1, 0]`, the function rotates the plane clockwise.
74+
- If `k < 0`, the function rotates the plane from the second specified dimension toward the first specified dimension. This means that, for a two-dimensional ndarray and `dims = [0, 1]`, the function rotates the plane clockwise.
7575
- Each provided dimension index must reside on the interval `[-ndims, ndims-1]`.
7676

7777
</section>

lib/node_modules/@stdlib/ndarray/base/to-rot90/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
If `k < 0`, the function rotates the plane from the second specified
1212
dimension toward the first specified dimension. This means that, for a two-
13-
dimensional ndarray and `dims = [1, 0]`, the function rotates the plane
13+
dimensional ndarray and `dims = [0, 1]`, the function rotates the plane
1414
clockwise.
1515

1616
Each provided dimension index must reside on the interval [-ndims, ndims-1].

lib/node_modules/@stdlib/ndarray/base/to-rot90/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { Collection } from '@stdlib/types/array';
2929
* ## Notes
3030
*
3131
* - If `k > 0`, the function rotates the plane from the first specified dimension toward the second specified dimension. This means that, for a two-dimensional ndarray and `dims = [0, 1]`, the function rotates the plane counterclockwise.
32-
* - If `k < 0`, the function rotates the plane from the second specified dimension toward the first specified dimension. This means that, for a two-dimensional ndarray and `dims = [1, 0]`, the function rotates the plane clockwise.
32+
* - If `k < 0`, the function rotates the plane from the second specified dimension toward the first specified dimension. This means that, for a two-dimensional ndarray and `dims = [0, 1]`, the function rotates the plane clockwise.
3333
* - Each provided dimension index must reside on the interval `[-ndims, ndims-1]`.
3434
*
3535
* @param x - input array

lib/node_modules/@stdlib/ndarray/base/to-rot90/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var assign = require( '@stdlib/ndarray/base/assign' );
3333
* ## Notes
3434
*
3535
* - If `k > 0`, the function rotates the plane from the first specified dimension toward the second specified dimension. This means that, for a two-dimensional ndarray and `dims = [0, 1]`, the function rotates the plane counterclockwise.
36-
* - If `k < 0`, the function rotates the plane from the second specified dimension toward the first specified dimension. This means that, for a two-dimensional ndarray and `dims = [1, 0]`, the function rotates the plane clockwise.
36+
* - If `k < 0`, the function rotates the plane from the second specified dimension toward the first specified dimension. This means that, for a two-dimensional ndarray and `dims = [0, 1]`, the function rotates the plane clockwise.
3737
* - Each provided dimension index must reside on the interval `[-ndims, ndims-1]`.
3838
*
3939
* @param {ndarray} x - input array

0 commit comments

Comments
 (0)