Skip to content

Commit 463d14f

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 5b870ea commit 463d14f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/ndarray/base/rotr90

lib/node_modules/@stdlib/ndarray/base/rotr90/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var rotr90 = require( '@stdlib/ndarray/base/rotr90' );
4242

4343
#### rotr90( x, k, writable )
4444

45-
Rotates a matrix (or a stack of matrices) `x` 90 degrees clockwise.
45+
Rotates a matrix (or a stack of matrices) 90 degrees clockwise.
4646

4747
```javascript
4848
var array = require( '@stdlib/ndarray/array' );
@@ -116,7 +116,7 @@ y = rotr90( x, 4, false );
116116
arr = ndarray2array( y );
117117
// returns [ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
118118

119-
// Rotate 90 degrees counterclockwise (equivalent to k=-1):
119+
// Rotate 90 degrees counterclockwise (equivalent to 270 degrees clockwise):
120120
y = rotr90( x, -1, false );
121121
arr = ndarray2array( y );
122122
// returns [ [ 3, 6 ], [ 2, 5 ], [ 1, 4 ] ]

0 commit comments

Comments
 (0)