naginterfaces.library.blas.zdscal

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

zdscal scales a complex vector by a real scalar.

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

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

Parameters
alphafloat

The scalar .

xcomplex, array-like, shape

The -element vector .

Returns
xcomplex, ndarray, shape

The vector .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

Notes

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

zdscal performs the operation

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

References

Lawson, C L, Hanson, R J, Kincaid, D R and Krogh, F T, 1979, Basic linear algebra supbrograms for Fortran usage, ACM Trans. Math. Software (5), 308–325