syr#
Functions
-
void csyr(const char *uplo, const INT n, const c64 alpha, const c64 *restrict X, const INT incx, c64 *restrict A, const INT lda)#
CSYR performs the symmetric rank 1 operation.
A := alpha*x*x**H + A,
where alpha is a complex scalar, x is an n element vector and A is an n by n symmetric matrix.
UPLO = ‘U’ or ‘u’ Only the upper triangular part of A is to be referenced.
UPLO = ‘L’ or ‘l’ Only the lower triangular part of A is to be referenced.
Parameters
inuploOn entry, UPLO specifies whether the upper or lower triangular part of the array A is to be referenced as follows:
innOn entry, N specifies the order of the matrix A. N must be at least zero.
inalphaOn entry, ALPHA specifies the scalar alpha.
inXSingle complex array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the N- element vector x.
inincxOn entry, INCX specifies the increment for the elements of X. INCX must not be zero.
inoutASingle complex array, dimension ( lda, n ). Before entry, with UPLO = ‘U’ or ‘u’, the leading n by n upper triangular part of the array A must contain the upper triangular part of the symmetric matrix and the strictly lower triangular part of A is not referenced. On exit, the upper triangular part of the array A is overwritten by the upper triangular part of the updated matrix. Before entry, with UPLO = ‘L’ or ‘l’, the leading n by n lower triangular part of the array A must contain the lower triangular part of the symmetric matrix and the strictly upper triangular part of A is not referenced. On exit, the lower triangular part of the array A is overwritten by the lower triangular part of the updated matrix.
inldaOn entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, N ).
void csyr(
const char* uplo,
const INT n,
const c64 alpha,
const c64* restrict X,
const INT incx,
c64* restrict A,
const INT lda
);
Functions
-
void zsyr(const char *uplo, const INT n, const c128 alpha, const c128 *restrict X, const INT incx, c128 *restrict A, const INT lda)#
ZSYR performs the symmetric rank 1 operation.
A := alpha*x*x**H + A,
where alpha is a complex scalar, x is an n element vector and A is an n by n symmetric matrix.
UPLO = ‘U’ or ‘u’ Only the upper triangular part of A is to be referenced.
UPLO = ‘L’ or ‘l’ Only the lower triangular part of A is to be referenced.
Parameters
inuploOn entry, UPLO specifies whether the upper or lower triangular part of the array A is to be referenced as follows:
innOn entry, N specifies the order of the matrix A. N must be at least zero.
inalphaOn entry, ALPHA specifies the scalar alpha.
inXDouble complex array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the N- element vector x.
inincxOn entry, INCX specifies the increment for the elements of X. INCX must not be zero.
inoutADouble complex array, dimension ( lda, n ). Before entry, with UPLO = ‘U’ or ‘u’, the leading n by n upper triangular part of the array A must contain the upper triangular part of the symmetric matrix and the strictly lower triangular part of A is not referenced. On exit, the upper triangular part of the array A is overwritten by the upper triangular part of the updated matrix. Before entry, with UPLO = ‘L’ or ‘l’, the leading n by n lower triangular part of the array A must contain the lower triangular part of the symmetric matrix and the strictly upper triangular part of A is not referenced. On exit, the lower triangular part of the array A is overwritten by the lower triangular part of the updated matrix.
inldaOn entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, N ).
void zsyr(
const char* uplo,
const INT n,
const c128 alpha,
const c128* restrict X,
const INT incx,
c128* restrict A,
const INT lda
);