naginterfaces.library.blas.zdcopy

naginterfaces.library.blas.zdcopy(x)[source]

zdcopy copies a real vector to a complex vector.

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

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06kff.html

Parameters
xfloat, 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.

zdcopy performs the operation

where is an -element real vector, and is an -element complex vector.