XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ zdscal()

void zdscal ( int  n,
double  a,
doublecomplex  zx[],
int  incx 
)

x <- ax (complex vector) (BLAS 1)

Purpose
This routine scales a complex vector by a real constant.
Parameters
[in]nNumber of elements in input vector (if n <= 0, returns without computation)
[in]aScalar a
[in,out]zx[]Array zx[lzx] (lzx >= 1 + (n - 1)*incx)
[in] Input vector x
[out] Scaled vector (= ax)
[in]incxStorage spacing between elements of x (if incx <= 0, returns without computation)
Reference
BLAS