scipy.linalg.blas.zhpmv#

scipy.linalg.blas.zhpmv(n, alpha, ap, x, incx=1, offx=0, beta=0.0, y=None, incy=1, offy=0, lower=0, overwrite_y=0) = <fblas function zhpmv>#

Compute y = alpha*a@x + beta*y for a packed Hermitian matrix (BLAS zhpmv).

Parameters:
nint

Order of the matrix.

alphacomplex

Scalar multiplier for the product.

apndarray

The Hermitian matrix in packed storage.

xndarray

Input vector.

incxint, optional

Stride between successive elements of x. Default is 1.

offxint, optional

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

betacomplex, optional

Scalar multiplier for y. Default is 0.

yndarray, optional

Input/output vector; if omitted a new zero vector is allocated. Default is None.

incyint, optional

Stride between successive elements of y. Default is 1.

offyint, optional

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

lowerint, optional

If 0, the upper triangle is used; if 1, the lower. Default is 0.

overwrite_yint, optional

If nonzero, y may be overwritten in place. Default is 0.

Returns:
yndarray

The vector alpha*a@x + beta*y.