|
◆ ztrmv()
void ztrmv |
( |
char |
uplo, |
|
|
char |
trans, |
|
|
char |
diag, |
|
|
int |
n, |
|
|
int |
lda, |
|
|
doublecomplex |
a[], |
|
|
doublecomplex |
x[], |
|
|
int |
incx |
|
) |
| |
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 references) |
[in] | n | Order of the matrix A. (n >= 0) (If n = 0, returns without computation) |
[in] | lda | Leading dimension of the two dimensional array a[][]. (lda >= max(1, n)) |
[in] | a[][] | Array a[la][lda] (la >= n)
n x n triangular matrix A. (Only upper or lower triangular part is to be referenced) |
[in,out] | x[] | Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
[in] Input vector x.
[out] Output vector. (= A*x, A^T*x or A^H*x) |
[in] | incx | Storage spacing between elements of x. (incx != 0) |
- Reference
- BLAS
|