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 strides parameters determine which elements in the strided arrays are accessed at runtime. For example, to calculate the dot product of every other value in `x` and the first `N` elements of `y` in reverse order,
76
+
The `N` and stride parameters determine which elements in the strided arrays are accessed at runtime. For example, to calculate the dot product of every other element in `x` and the first `N` elements of `y` in reverse order,
77
77
78
78
```javascript
79
79
var Complex128Array =require( '@stdlib/array/complex128' );
@@ -123,13 +123,15 @@ The function has the following additional parameters:
123
123
-**offsetX**: starting index for `x`.
124
124
-**offsetY**: starting index for `y`.
125
125
126
-
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, to calculate the dot product of every other value in `x` starting from the second value with the last 2 elements in `y` in reverse order
126
+
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, to calculate the dot product of every other element in `x` starting from the second element with the last 2 elements in `y` in reverse order
127
+
128
+
<!-- eslint-disable max-len -->
127
129
128
130
```javascript
129
131
var Complex128Array =require( '@stdlib/array/complex128' );
130
132
131
133
var x =newComplex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
132
-
var y =newComplex128Array( [ 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0 ] );// eslint-disable-line max-len
134
+
var y =newComplex128Array( [ 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0 ] );
133
135
134
136
var z =zdotu.ndarray( 2, x, 2, 1, y, -1, y.length-1 );
0 commit comments