@@ -199,6 +199,32 @@ The function accepts the following arguments:
199199- **strideX**: `[in] CBLAS_INT` index increment for `x`.
200200
201201```c
202+ void c_zdscal( const CBLAS_INT N, const double alpha, stdlib_complex128_t *X, const CBLAS_INT strideX );
203+ ```
204+
205+ #### c_zdscal_ndarray( N, alpha, \* X, strideX, offsetX )
206+
207+ Scales a double-precision complex floating-point vector by a double-precision floating-point constant using alternative indexing semantics.
208+
209+ ``` c
210+ #include " stdlib/complex/float64/ctor.h"
211+
212+ stdlib_complex128_t x[] = {
213+ stdlib_complex128 ( 1.0, 2.0 ),
214+ stdlib_complex128( 3.0, 4.0 ),
215+ stdlib_complex128( 5.0, 6.0 )
216+ };
217+
218+ c_zdscal_ndarray ( 3, 2.0, x, 1, 0 );
219+ ```
220+ The function accepts the following arguments:
221+ - **N**: `[in] CBLAS_INT` number of indexed elements.
222+ - **alpha**: `[in] double` scalar constant.
223+ - **X**: `[inout] void*` input array.
224+ - **strideX**: `[in] CBLAS_INT` index increment for `x`.
225+ - **offsetX**: `[in] CBLAS_INT` starting index for `x`.
226+ ```c
227+ void c_zdscal_ndarray( const CBLAS_INT N, const double alpha, stdlib_complex128_t *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
202228void c_zdscal( const CBLAS_INT N, const double alpha, void *X, const CBLAS_INT strideX );
203229```
204230
0 commit comments