scipy.linalg.blas.cscal#

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

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

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.