|
◆ zsyr2()
void zsyr2 |
( |
char |
uplo, |
|
|
int |
n, |
|
|
doublecomplex |
alpha, |
|
|
doublecomplex |
x[], |
|
|
int |
incx, |
|
|
doublecomplex |
y[], |
|
|
int |
incy, |
|
|
int |
lda, |
|
|
doublecomplex |
a[] |
|
) |
| |
Rank 2 operation: A <- αxyT + αyxT + A (complex symmetric matrices) (BLAS 2)
- Purpose
- This routine performs the rank 2 operation
A <- alpha*x*y^T + alpha*y*x^T + A
where alpha is a scalar, x and y are n element vectors and A is an n x n symmetric 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 alpha. |
[in] | x[] | Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
Vector x. |
[in] | incx | Storage spacing between elements of x. (incx != 0) |
[in] | y[] | Array y[ly] (ly >= 1 + (n - 1)*abs(incy))
Vector y. |
[in] | incy | Storage spacing between elements of y. (incy != 0) |
[in] | lda | Leading dimension of the two dimensional array a[][]. (lda >= max(1, n)) |
[in,out] | a[][] | Array a[la][lda] (la >= n)
[in] n x n symmetric matrix A. (Only upper or lower triangular part is to be referenced)
[out] Output matrix. (= alpha*x*y^T + alpha*y*x^T + A) (Only upper or lower triangular part is to be referenced) |
- Reference
- BLAS
|