naginterfaces.library.blas.zgbmv¶
- naginterfaces.library.blas.zgbmv(trans, m, kl, ku, alpha, a, x, beta, y=None)[source]¶
zgbmv
computes the matrix-vector product for a complex general band matrix, its transpose or its conjugate transpose.For full information please refer to the NAG Library document for f06sb
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06sbf.html
- Parameters
- transstr, length 1
Specifies the operation to be performed.
.
.
.
- mint
, the number of rows of the matrix .
- klint
, the number of subdiagonals within the band of .
- kuint
, the number of superdiagonals within the band of .
- alphacomplex
The scalar .
- acomplex, array-like, shape
The band matrix .
- xcomplex, array-like, shape
Note: the required length for this argument is determined as follows: if : ; if : ; otherwise: .
The vector .
- betacomplex
The scalar .
- yNone or complex, array-like, shape , optional
Note: the required length for this argument is determined as follows: if : ; if : ; otherwise: .
The 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: .
- (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.
zgbmv
performs one of the matrix-vector operationswhere is an complex band matrix with subdiagonals and superdiagonals, and are complex vectors, and and are complex scalars.
If or , no operation is performed.