naginterfaces.library.blas.zhemv¶
- naginterfaces.library.blas.zhemv(uplo, alpha, a, x, beta, y=None)[source]¶
zhemv
computes the matrix-vector product for a complex Hermitian matrix.For full information please refer to the NAG Library document for f06sc
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06scf.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 .
- acomplex, array-like, shape
The Hermitian matrix .
- 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.
zhemv
performs the matrix-vector operationwhere is an complex Hermitian matrix, and are -element complex vectors, and and are complex scalars.