|
◆ Zher2()
Sub Zher2 |
( |
Uplo As |
String, |
|
|
N As |
Long, |
|
|
Alpha As |
Complex, |
|
|
X_I As |
Complex, |
|
|
Y_I As |
Complex, |
|
|
A_IJ As |
Complex, |
|
|
LdA As |
Long, |
|
|
Optional IncX As |
Long = 1 , |
|
|
Optional IncY As |
Long = 1 |
|
) |
| |
Rank 2 operation: A <- αxyH + conjg(α)yxH + A (Hermitian matrices) (BLAS 2)
- Purpose
- This routine performs the Hermitian rank 2 operation
A <- αxy^H + conjg(α)yx^H + A
where α is a scalar, x and y are n element vectors and A is an n x n Hermitian matrix.
- Parameters
-
[in] | Uplo | Specifies whether the upper or lower triangular part of the array A() is to be referenced as follows:
= "U": Only the upper triangular part of A() is to be referenced.
= "L": Only the lower triangular part of A() is to be referenced. |
[in] | N | Order of the matrix A. (N >= 0) (If N = 0, returns without computation) |
[in] | Alpha | Scalar α. |
[in] | X_I | An element X(I) of the array X(). Starting from this location, vector x is stored with element spacing IncX. |
[in] | Y_I | An element Y(I) of the array Y(). Starting from this location, vector y is stored with element spacing IncY. |
[in,out] | A_IJ | An element A(I, J) of the array A().
[in] Starting from this location, N x N Hermitian matrix A is stored. According to Uplo, only upper or lower triangular part is to be referenced. The imaginary parts of the diagonal elements need not be set and are assumed to be zero.
[out] Starting from this location, N x N Hermitian matrix αxy^H + conjg(α)yx^H + A is stored. According to Uplo, only upper or lower triangular part is overwritten. The imaginary parts of the diagonal elements are set to zero. |
[in] | LdA | Leading dimension of the two dimensional array A(). (LdA >= max(1, N)) |
[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
|