Skip to content

Commit 851b639

Browse files
committed
chore: 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: 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 8ecacc5 commit 851b639

File tree

1 file changed

+16
-6
lines changed
  • lib/node_modules/@stdlib/lapack/base/dlarf1f

1 file changed

+16
-6
lines changed

lib/node_modules/@stdlib/lapack/base/dlarf1f/README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,15 @@ The function has the following parameters:
6868
- **LDC**: stride of the first dimension of `C` (a.k.a., leading dimension of the matrix `C`).
6969
- **work**: workspace [`Float64Array`][mdn-float64array].
7070

71-
Based on the `side` of multiplication, the expected storage of the array changes:
71+
When `side` is `'left'`,
7272

73-
- `work` should have `N` indexed elements if `side` = `'left'` and `M` indexed elements if `side` = `'right'`.
74-
- `V` should have `1 + (M-1) * abs(incv)` indexed elements if `side` = `'left'` and `1 + (N-1) * abs(incv)` indexed elements if `side` = `'right'`.
73+
- `work` should have `N` indexed elements.
74+
- `V` should have `1 + (M-1) * abs(incv)` indexed elements.
75+
76+
When `side` is `'right'`,
77+
78+
- `work` should have `M` indexed elements.
79+
- `V` should have `1 + (N-1) * abs(incv)` indexed elements.
7580

7681
The sign of the increment parameter `incv` determines the order in which elements of `V` are accessed. For example, to access elements in reverse order,
7782

@@ -158,10 +163,15 @@ The function has the following additional parameters:
158163
- **sw**: stride length for `work`.
159164
- **ow**: starting index for `work`.
160165

161-
Based on the `side` of multiplication, the expected storage of the array changes:
166+
When `side` is `'left'`,
167+
168+
- `work` should have `N` indexed elements.
169+
- `V` should have `1 + (M-1) * abs(incv)` indexed elements.
170+
171+
When `side` is `'right'`,
162172

163-
- `work` should have `N` indexed elements if `side` = `'left'` and `M` indexed elements if `side` = `'right'`.
164-
- `V` should have `1 + (M-1) * abs(incv)` indexed elements if `side` = `'left'` and `1 + (N-1) * abs(incv)` indexed elements if `side` = `'right'`.
173+
- `work` should have `M` indexed elements.
174+
- `V` should have `1 + (N-1) * abs(incv)` indexed elements.
165175

166176
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example,
167177

0 commit comments

Comments
 (0)