naginterfaces.library.blas.zaxpzy

naginterfaces.library.blas.zaxpzy(alpha, x)[source]

zaxpzy multiplies a complex vector by a scalar, preserving the input vector.

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

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06hdf.html

Parameters
alphacomplex

The scalar .

xcomplex, array-like, shape

The -element vector .

Returns
ycomplex, ndarray, shape

The elements of the vector .

Notes

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

zaxpzy performs the operation

where and are -element complex vectors, and is a complex scalar.