You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the `side`of multiplication, the expected storage of the array changes:
71
+
When `side`is `'left'`,
72
72
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.
75
80
76
81
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,
77
82
@@ -158,10 +163,15 @@ The function has the following additional parameters:
158
163
-**sw**: stride length for `work`.
159
164
-**ow**: starting index for `work`.
160
165
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'`,
162
172
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.
165
175
166
176
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,
0 commit comments