symv#

Functions

void csymv(
    const char*          uplo,
    const INT            n,
    const c64            alpha,
    const c64*  restrict A,
    const INT            lda,
    const c64*  restrict X,
    const INT            incx,
    const c64            beta,
          c64*  restrict Y,
    const INT            incy
);
void csymv(const char *uplo, const INT n, const c64 alpha, const c64 *restrict A, const INT lda, const c64 *restrict X, const INT incx, const c64 beta, c64 *restrict Y, const INT incy)#

CSYMV performs the matrix-vector operation.

y := alpha*A*x + beta*y,

where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix.

Parameters

in
uplo

Specifies whether the upper or lower triangular part of the array A is to be referenced: = ‘U’: Only the upper triangular part of A is referenced. = ‘L’: Only the lower triangular part of A is referenced.

in
n

The order of the matrix A. n >= 0.

in
alpha

Specifies the scalar alpha.

in
A

Single complex array, dimension (lda, n). The symmetric matrix A.

in
lda

The first dimension of A. lda >= max(1, n).

in
X

Single complex array, dimension at least (1 + (n-1)*abs(incx)). The n-element vector x.

in
incx

The increment for the elements of X. incx must not be zero.

in
beta

Specifies the scalar beta.

inout
Y

Single complex array, dimension at least (1 + (n-1)*abs(incy)). On entry, the n-element vector y. On exit, the updated vector y.

in
incy

The increment for the elements of Y. incy must not be zero.

Functions

void zsymv(
    const char*          uplo,
    const INT            n,
    const c128           alpha,
    const c128* restrict A,
    const INT            lda,
    const c128* restrict X,
    const INT            incx,
    const c128           beta,
          c128* restrict Y,
    const INT            incy
);
void zsymv(const char *uplo, const INT n, const c128 alpha, const c128 *restrict A, const INT lda, const c128 *restrict X, const INT incx, const c128 beta, c128 *restrict Y, const INT incy)#

ZSYMV performs the matrix-vector operation.

y := alpha*A*x + beta*y,

where alpha and beta are scalars, x and y are n element vectors and A is an n by n symmetric matrix.

Parameters

in
uplo

Specifies whether the upper or lower triangular part of the array A is to be referenced: = ‘U’: Only the upper triangular part of A is referenced. = ‘L’: Only the lower triangular part of A is referenced.

in
n

The order of the matrix A. n >= 0.

in
alpha

Specifies the scalar alpha.

in
A

Double complex array, dimension (lda, n). The symmetric matrix A.

in
lda

The first dimension of A. lda >= max(1, n).

in
X

Double complex array, dimension at least (1 + (n-1)*abs(incx)). The n-element vector x.

in
incx

The increment for the elements of X. incx must not be zero.

in
beta

Specifies the scalar beta.

inout
Y

Double complex array, dimension at least (1 + (n-1)*abs(incy)). On entry, the n-element vector y. On exit, the updated vector y.

in
incy

The increment for the elements of Y. incy must not be zero.