XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ zsyr()

void zsyr ( char  uplo,
int  n,
doublecomplex  alpha,
doublecomplex  x[],
int  incx,
int  lda,
doublecomplex  a[] 
)

Rank 1 operation: A <- αxxT + A (complex symmetric matrices) (BLAS 2)

Purpose
This routine performs the symmetric rank 1 operation
A <- alpha*x*x^T + A
where alpha is a complex scalar, x is an n element vector and A is an n x n symmetric matrix.
Parameters
[in]uploSpecifies 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]nOrder of the matrix A. (n >= 0) (If n = 0, returns without computation)
[in]alphaScalar alpha.
[in]x[]Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
Vector x.
[in]incxStorage spacing between elements of x. (incx != 0)
[in]ldaLeading 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. According to uplo, only the upper or lower triangular part is to be referenced.
[out] n x n output symmetric matrix (= alpha*x*x^T + A). According to uplo, only upper or lower triangular part is overwritten.
Reference
BLAS