naginterfaces.library.blas.zsyr

naginterfaces.library.blas.zsyr(uplo, alpha, x, a)[source]

zsyr performs the symmetric rank-1 update operation

where is an complex symmetric matrix, is an -element complex vector, and is a complex scalar.

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

https://support.nag.com/numeric/nl/nagdoc_30/flhtml/f06/f06tbf.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 .

xcomplex, array-like, shape

The -element vector .

acomplex, array-like, shape

The symmetric matrix .

Returns
acomplex, ndarray, shape

The updated matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(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.