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 how values from`zx` conjugated. For example, to conjugate every other value in `zx`,
62
+
The `N` and stride parameters determine which elements in`zx`are conjugated. For example, to conjugate every other element in `zx`,
63
63
64
64
```javascript
65
65
var Complex128Array =require( '@stdlib/array/complex128' );
@@ -96,7 +96,7 @@ var zx0 = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
96
96
// Create an offset view:
97
97
var zx1 =newComplex128Array( zx0.buffer, zx0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
98
98
99
-
//Conjugates every other value from `zx1`...
99
+
//Conjugate every element in `zx1`:
100
100
zlacgv( 3, zx1, 1 );
101
101
102
102
var z =zx0.get( 1 );
@@ -109,9 +109,9 @@ var im = imag( z );
109
109
// returns -4.0
110
110
```
111
111
112
-
#### zlacgv.ndarray( N, zx, strideX, offsetX )
112
+
#### zlacgv.ndarray( N, zx, strideZX, offsetZX )
113
113
114
-
Conjugate values from `zx` using alternative indexing semantics.
114
+
Conjugates each element in a double-precision floating-point vector using alternative indexing semantics.
115
115
116
116
```javascript
117
117
var Complex128Array =require( '@stdlib/array/complex128' );
@@ -134,9 +134,9 @@ var im = imag( z );
134
134
135
135
The function has the following additional parameters:
136
136
137
-
-**offsetX**: starting index for `zx`.
137
+
-**offsetZX**: starting index for `zx`.
138
138
139
-
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameter supports indexing semantics based on a starting index. For example, to conjugate every other value in the input strided array starting from the second element,
139
+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameter supports indexing semantics based on a starting index. For example, to conjugate every other element in the input strided array starting from the second element,
140
140
141
141
```javascript
142
142
var Complex128Array =require( '@stdlib/array/complex128' );
@@ -165,8 +165,8 @@ var im = imag( z );
165
165
166
166
## Notes
167
167
168
-
- If `N <= 0` or `strideX <= 0`, both functions return `zx` unchanged.
169
-
-`zlacgv()` corresponds to the [LAPACK][lapack] BLAS-like level 1 function[`zlacgv`][zlacgv].
168
+
- If `N <= 0`, both functions return `zx` unchanged.
169
+
-`zlacgv()` corresponds to the [LAPACK][lapack] BLAS-like level 1 routine[`zlacgv`][zlacgv].
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
0 commit comments