@@ -299,15 +299,15 @@ Interchanges two complex double-precision floating-point vectors.
299299double x[] = { 1.0, 2.0, 3.0, 4.0 }; // interleaved real and imaginary components
300300double y[ ] = { 5.0, 6.0, 7.0, 8.0 };
301301
302- c_zswap ( 2, (void * )x, 1, (void * )Y , 1 );
302+ c_zswap ( 2, (void * )x, 1, (void * )y , 1 );
303303```
304304
305305The function accepts the following arguments:
306306
307307- **N**: `[in] CBLAS_INT` number of indexed elements.
308308- **X**: `[inout] void*` first input array.
309309- **strideX**: `[in] CBLAS_INT` index increment for `X`.
310- - **Y**: `[inout] void*` first input array.
310+ - **Y**: `[inout] void*` second input array.
311311- **strideY**: `[in] CBLAS_INT` index increment for `Y`.
312312
313313```c
@@ -322,7 +322,7 @@ Interchanges two complex double-precision floating-point vectors using alternati
322322double x[] = { 1.0, 2.0, 3.0, 4.0 }; // interleaved real and imaginary components
323323double y[ ] = { 5.0, 6.0, 7.0, 8.0 };
324324
325- c_zswap_ndarray ( 2, (void * )x, 1, 0, (void * )Y , 1, 0 );
325+ c_zswap_ndarray ( 2, (void * )x, 1, 0, (void * )y , 1, 0 );
326326```
327327
328328The function accepts the following arguments:
@@ -331,7 +331,7 @@ The function accepts the following arguments:
331331- **X**: `[inout] void*` first input array.
332332- **strideX**: `[in] CBLAS_INT` index increment for `X`.
333333- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
334- - **Y**: `[inout] void*` first input array.
334+ - **Y**: `[inout] void*` second input array.
335335- **strideY**: `[in] CBLAS_INT` index increment for `Y`.
336336- **offsetY**: `[in] CBLAS_INT` starting index for `Y`.
337337
0 commit comments