Skip to content

Commit e234d8a

Browse files
committed
fix: apply suggestions from code review
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent 22436f2 commit e234d8a

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ The function accepts the following arguments:
7171
## Notes
7272

7373
- The `writable` parameter **only** applies to ndarray constructors supporting **read-only** instances.
74-
- If `k > 0` the function rotates the matrix clockwise.
75-
- If `k < 0` the function rotates the matrix counterclockwise.
74+
- If `k > 0`, the function rotates the matrix clockwise.
75+
- If `k < 0`, the function rotates the matrix counterclockwise.
7676
- The returned ndarray is a **view** of the input ndarray. Accordingly, writing to the original ndarray will **mutate** the returned ndarray and vice versa.
7777
- If provided an ndarray with fewer than two dimensions, the function returns the input array unchanged.
7878

lib/node_modules/@stdlib/ndarray/base/rotr90/docs/repl.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{alias}}( x, k, writable )
33
Rotates a matrix (or a stack of matrices) 90 degrees clockwise.
44

5-
If `k > 0` the function rotates the matrix clockwise. If `k < 0` the
5+
If `k > 0`, the function rotates the matrix clockwise. If `k < 0`, the
66
function rotates the matrix counterclockwise.
77

88
If provided an ndarray with fewer than two dimensions, the function returns
@@ -41,5 +41,6 @@
4141
> y = {{alias}}( x, 3, false )
4242
<ndarray>[ [ 2, 4 ], [ 1, 3 ] ]
4343

44+
4445
See Also
4546
--------

lib/node_modules/@stdlib/ndarray/base/rotr90/docs/types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ declare function rotr90<T extends typedndarray<unknown> = typedndarray<unknown>>
5151
*
5252
* @example
5353
* var array = require( `@stdlib/ndarray/array` );
54+
*
5455
* var x = array( [ [ 1, 2 ], [ 3, 4 ] ], {
5556
* 'dtype': 'generic'
5657
* });

0 commit comments

Comments
 (0)