scipy.linalg.blas.zscal#

scipy.linalg.blas.zscal(a, x, n=None, offx=0, incx=1) = <fblas function zscal>#

Scale x in place by a: x = a*x (BLAS zscal).

Parameters:
acomplex

Scalar multiplier.

xndarray

Input/output vector; overwritten with a*x.

nint, optional

Number of elements to process. Default is the whole vector.

offxint, optional

Index of the first element of x to use. Default is 0.

incxint, optional

Stride between successive elements of x. Default is 1.

Returns:
xndarray

The scaled vector a*x.