|
◆ Ztbsv()
Sub Ztbsv |
( |
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 |
|
) |
| |
Solution of Ax = b, ATx = b or AHx = b (complex triangular band matrices) (BLAS 2)
- Purpose
- This routine solves one of the systems of equations
A*x = b, A^T*x = b or A^H*x = b
where b and x are n element vectors and A is an n x n unit or non-unit, upper or lower triangular band matrix, with k+1 diagonals.
No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine.
- Parameters
-
[in] | Uplo | Specifies 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] | Trans | Specifies the equation to be solved as follows:
= "N": A*x = b.
= "T": A^T*x = b.
= "C": A^H*x = b. |
[in] | Diag | Specifies 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] | N | Order of the matrix A. (N >= 0) (If N = 0, returns without computation) |
[in] | K | Number of super/sub-diagonals of the matrix A. (K >= 0) |
[in] | Ab_IJ | An 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] | LdAb | Leading dimension of the two dimensional array Ab(). (LdAb >= K + 1) |
[in] | X_I | An element X(I) of the array X().
[in] Starting from this location, N vector b is stored with element spacing IncX.
[out] Starting from this location, solution x (N vector) of A*x = b, A^T*x = b or A^H*x = b is stored with element spacing IncX. |
[in] | IncX | (Optional)
Element spacing of vector x in the array X(). (IncX <> 0) (default = 1) |
- Reference
- BLAS
|