naginterfaces.library.blas.zspmv

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

zspmv performs the matrix-vector operation

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

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

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06tcf.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 symmetric matrix , packed by columns.

xcomplex, array-like, shape

The -element vector .

betacomplex

The scalar .

ycomplex, array-like, shape

The -element vector .

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

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