Skip to content

Commit fc93a7c

Browse files
committed
docs: add note
--- 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: na - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 1634973 commit fc93a7c

File tree

1 file changed

+4
-0
lines changed
  • lib/node_modules/@stdlib/ndarray/base/to-normalized-indices

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ var idx = toNormalizedIndices( [ 15, -15 ], 10 );
6464

6565
<section class="notes">
6666

67+
## Notes
68+
69+
- During normalization, a negative index is converted to a nonnegative index according to `max + idx + 1`. If, after normalization, the resolved index is still negative, the value is considered out-of-bounds.
70+
6771
</section>
6872

6973
<!-- /.notes -->

0 commit comments

Comments
 (0)