# naginterfaces.library.blas.zddscl¶

naginterfaces.library.blas.zddscl(d, x)[source]

zddscl multiplies a complex vector by a real diagonal matrix.

For full information please refer to the NAG Library document for f06kc

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06kcf.html

Parameters
dfloat, array-like, shape

The vector .

xcomplex, array-like, shape

The array must contain the -element vector .

Returns
xcomplex, ndarray, shape

The updated vector .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

zddscl performs the operation

where is an -element complex vector and is a real diagonal matrix.

Equivalently, the function performs the element-by-element product of the vectors and