naginterfaces.library.blas.zdscl

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

zdscl multiplies a complex vector by a complex diagonal matrix.

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

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

Parameters
dcomplex, array-like, shape

The vector .

xcomplex, ndarray, shape , modified in place

On entry: the array must contain the -element vector .

On exit: the updated vector .

Notes

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

zdscl performs the operation

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

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