|
◆ Zgbmv()
Sub Zgbmv |
( |
Trans As |
String, |
|
|
M As |
Long, |
|
|
N As |
Long, |
|
|
Kl As |
Long, |
|
|
Ku As |
Long, |
|
|
Alpha As |
Complex, |
|
|
Ab_IJ As |
Complex, |
|
|
LdAb As |
Long, |
|
|
X_I As |
Complex, |
|
|
Beta As |
Complex, |
|
|
Y_I As |
Complex, |
|
|
Optional IncX As |
Long = 1 , |
|
|
Optional IncY As |
Long = 1 |
|
) |
| |
y <- αAx + βy, y <- αATx + βy or y <- αAHx + βy (complex band matrices) (BLAS 2)
- Purpose
- This routine performs one of the matrix-vector operations
y <- αAx + βy, y <- αA^Tx + βy or y <- αA^Hx + βy
where α and β are scalars, x and y are vectors and A is an m x n band matrix, with kl sub-diagonals and ku super-diagonals.
- Parameters
-
[in] | Trans | Specifies the operation to be performed.
= "N": y <- αAx + βy.
= "T": y <- αA^Tx + βy.
= "C": y <- αA^Hx + βy. |
[in] | M | Number of rows of the matrix A. (M >= 0) (If m = 0, returns without computation) |
[in] | N | Number of columns of the matrix A. (N >= 0) (If m = 0, returns without computation) |
[in] | Kl | Number of sub-diagonals of the matrix A. (Kl >= 0) |
[in] | Ku | Number of super-diagonals of the matrix A. (Ku >= 0) |
[in] | Alpha | Scalar α. |
[in] | Ab_IJ | An element Ab(I, J) of the array Ab(). Starting from this location, M x N matrix A is stored in band matrix form (Kl+Ku+1 x N). |
[in] | LdAb | Leading dimension of the two dimensional array Ab(). (LdAb >= Kl + Ku + 1) |
[in] | X_I | An element X(I) of the array X(). Starting from this location, vector x is stored with element spacing IncX (Vector x is N vector when Trans="N", or M vector when Trans="T" or "C"). |
[in] | Beta | Scalar β. |
[in,out] | Y_I | An element Y(I) of the array Y().
[in] Starting from this location, vector y is stored with element spacing IncY (Vector y is M vector when Trans="N", or N vector when Trans="T" or "C").
[out] Starting from this location, αAx+βy, αA^Tx+βy or αA^Hx+βy is stored with element spacing IncY. (The resulting vector is M vector when Trans="N", or N vector when Trans="T" or "C"). |
[in] | IncX | (Optional)
Element spacing of vector x in the array X(). (IncX <> 0) (default = 1) |
[in] | IncY | (Optional)
Element spacing of vector y in the array Y(). (IncY <> 0) (default = 1) |
- Reference
- BLAS
|