XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Zhbmv()

Sub Zhbmv ( Uplo As  String,
N As  Long,
K 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 (Hermitian band matrices) (BLAS 2)

Purpose
This routine performs the matrix-vector operation
y <- αAx + βy
where α and β are scalars, x and y are vectors and A is an n x n Hermitian band matrix, with k super/sub-diagonals.
Parameters
[in]UploSpecifies whether the upper or lower triangular part of the band matrix A is being supplied as follows:
= "U": The upper triangular part of A is being supplied.
= "L": The lower triangular part of A is being supplied.
[in]NOrder of the matrix A. (N >= 0) (If N = 0, returns without computation)
[in]KNumber of super/sub-diagonals of the matrix A. (K >= 0)
[in]AlphaScalar α.
[in]Ab_IJAn element Ab(I, J) of the array Ab(). Starting from this location, N x N Hermitian band matrix A is stored in symmetric band matrix form (K+1 x N). Only the upper or lower triangular part is stored.
[in]LdAbLeading dimension of the two dimensional array Ab(). (LdAb >= K + 1)
[in]X_IAn element X(I) of the array X(). Starting from this location, N vector x is stored with element spacing IncX.
[in]BetaScalar β. When β is supplied as zero then y need not be set on input.
[in,out]Y_IAn element Y(I) of the array Y().
[in] Starting from this location, N vector y is stored with element spacing IncY.
[out] Starting from this location, N vector αAx+βy is stored with element spacing IncY.
[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