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
The `N` and `stride` parameters determine which elements in `x` and `y` are accessed at runtime. For example, to compute the cumulative sum of every other element in `x`,
68
+
The `N` and stride parameters determine which elements in the strided arrays are accessed at runtime. For example, to compute the cumulative sum of every other element in `x`,
@@ -121,18 +115,15 @@ The function has the following additional parameters:
121
115
-**offsetX**: starting index for `x`.
122
116
-**offsetY**: starting index for `y`.
123
117
124
-
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, `offsetX` and `offsetY` parameters support indexing semantics based on a starting indices. For example, to calculate the cumulative sum of every other value in `x` starting from the second value and to store in the last `N` elements of `y` starting from the last element
118
+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, offset parameters support indexing semantics based on a starting indices. For example, to calculate the cumulative sum of every other value in `x` starting from the second value and to store in the last `N` elements of `y` starting from the last element
@@ -144,7 +135,7 @@ scusumors.ndarray( N, 0.0, x, 2, 1, y, -1, y.length-1 );
144
135
145
136
## Notes
146
137
147
-
- If `N <= 0`, both functions return `y` unchanged.
138
+
- If `N <= 0`, both functions return the output array unchanged.
148
139
- Ordinary recursive summation (i.e., a "simple" sum) is performant, but can incur significant numerical error. If performance is paramount and error tolerated, using ordinary recursive summation is acceptable; in all other cases, exercise due caution.
149
140
150
141
</section>
@@ -158,20 +149,14 @@ scusumors.ndarray( N, 0.0, x, 2, 1, y, -1, y.length-1 );
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/base/scusumors/include.gypi
+1-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@
36
36
37
37
# Source files:
38
38
'src_files': [
39
-
'<(src_dir)/addon.cpp',
39
+
'<(src_dir)/addon.c',
40
40
'<!@(node -e "var arr = require(\'@stdlib/utils/library-manifest\')(\'./manifest.json\',{},{\'basedir\':process.cwd(),\'paths\':\'posix\'}).src; for ( var i = 0; i < arr.length; i++ ) { console.log( arr[ i ] ); }")',
0 commit comments