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

◆ zscal()

void zscal ( int  n,
doublecomplex  za,
doublecomplex  zx[],
int  incx 
)

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

Purpose
This routine scales a complex vector by a complex constant.
Parameters
[in]nNumber of elements in vector x. (If n <= 0, returns without computation)
[in]zaScalar 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