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

◆ Ztbmv()

Sub Ztbmv ( Uplo As  String,
Trans As  String,
Diag As  String,
N As  Long,
K As  Long,
Ab_IJ As  Complex,
LdAb As  Long,
X_I As  Complex,
Optional IncX As  Long = 1 
)

x <- Ax, x <- ATx or x <- AHx (complex triangular band matrices) (BLAS 2)

Purpose
This routine performs the matrix-vector operations
x <- A*x, x <- A^T*x or x <- A^H*x
where x is a vector and A is an n x n unit or non-unit, upper or lower triangular band matrix, with k+1 diagonals.
Parameters
[in]UploSpecifies whether the matrix is an upper or lower triangular matrix as follows:
= "U": A is an upper triangular matrix.
= "L": A is an lower triangular matrix.
[in]TransSpecifies the operation to be performed as follows:
= "N": x <- A*x.
= "T": x <- A^T*x.
= "C": x <- A^H*x.
[in]DiagSpecifies whether or not A is unit triangular as follows:
= "N": A is not assumed to be unit triangular.
= "U": A is assumed to be unit triangular. (Diagonal elements of Ab() are not referenced)
[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]Ab_IJAn element Ab(I, J) of the array Ab(). Starting from this location, N x N triangular band matrix A is stored in symmetric band matrix form (K+1 x N). (Upper or lower part is to be stored in accordance with Uplo)
[in]LdAbLeading dimension of the two dimensional array Ab(). (LdAb >= K + 1)
[in]X_IAn element X(I) of the array X().
[in] Starting from this location, N vector x is stored with element spacing IncX.
[out] Starting from this location, N vector A*x, A^T*x or A^H*x is stored with element spacing IncX.
[in]IncX(Optional)
Element spacing of vector x in the array X(). (IncX <> 0) (default = 1)
Reference
BLAS