|
◆ Ztrmv()
Sub Ztrmv |
( |
Uplo As |
String, |
|
|
Trans As |
String, |
|
|
Diag As |
String, |
|
|
N As |
Long, |
|
|
A_IJ As |
Complex, |
|
|
LdA As |
Long, |
|
|
X_I As |
Complex, |
|
|
Optional IncX As |
Long = 1 |
|
) |
| |
x <- Ax, x <- ATx or x <- AHx (complex triangular 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 matrix.
- 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 operation to be performed as follows:
= "N": x <- A*x.
= "T": x <- A^T*x.
= "C": x <- A^H*x. |
[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 A() are not referenced) |
[in] | N | Order of the matrix A. (N >= 0) (If N = 0, returns without computation) |
[in] | A_IJ | An element A(I, J) of the array A(). Starting from this location, N x N triangular matrix A is stored. Only the upper or lower triangular part is to be referenced. |
[in] | LdA | Leading dimension of the two dimensional array A(). (LdA >= max(1, N)) |
[in] | X_I | An 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
|