naginterfaces.library.blas.zspr¶
- naginterfaces.library.blas.zspr(uplo, alpha, x, ap)[source]¶
zspr
performs the symmetric rank-1 update operationwhere is an complex symmetric matrix, stored in packed form, is an -element complex vector, and is a complex scalar.
For full information please refer to the NAG Library document for f06td
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06tdf.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 .
- apcomplex, array-like, shape
The symmetric matrix , packed by columns.
- Returns
- apcomplex, 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.