naginterfaces.library.blas.zhpmv

naginterfaces.library.blas.zhpmv(uplo, alpha, ap, x, beta, y=None)[source]

zhpmv computes the matrix-vector product for a complex Hermitian matrix stored in packed form.

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

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

Parameters
uplostr, length 1

Specifies whether the upper or lower triangular part of is stored.

The upper triangular part of is stored.

The lower triangular part of is stored.

alphacomplex

The scalar .

apcomplex, array-like, shape

The Hermitian matrix , packed by columns.

xcomplex, array-like, shape

The -element vector .

betacomplex

The scalar .

yNone or complex, array-like, shape , optional

The -element vector , if , need not be set.

Returns
ycomplex, ndarray, shape

The updated vector .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

In the NAG Library the traditional C interface for this routine uses a different algorithmic base. Please contact NAG if you have any questions about compatibility.

zhpmv performs the matrix-vector operation

where is an complex Hermitian matrix stored in packed form, and are -element complex vectors, and and are complex scalars.