(S|D)SYMV

Single and double SYMV.

Description

Computes a symmetric matrix-vector product.

y \assign \alpha A * x + \beta y

BLAS Interface

void ssymv(const char *UPLO, const qml_long *N, const float *ALPHA,
           const float *A, const qml_long *LDA, const float *X,
           const qml_long *INCX, const float *BETA, float *Y,
           const qml_long *INCY);

void dsymv(const char *UPLO, const qml_long *N, const double *ALPHA,
           const double *A, const qml_long *LDA, const double *X,
           const qml_long *INCX, const double *BETA, double *Y,
           const qml_long *INCY);

CBLAS Interface

void cblas_ssymv(const CBLAS_ORDER ORDER, const CBLAS_UPLO UPLO,
                 const qml_long N, const float ALPHA, const float *A,
                 const qml_long LDA, const float *X, const qml_long INCX,
                 const float BETA, float *Y, const qml_long INCY);

void cblas_dsymv(const CBLAS_ORDER ORDER, const CBLAS_UPLO UPLO,
                 const qml_long N, const double ALPHA, const double *A,
                 const qml_long LDA, const double *X, const qml_long INCX,
                 const double BETA, double *Y, const qml_long INCY);

Arguments

UPLO Specify whether the upper or lower triangle of matrix A will be used
N Order of matrix A
ALPHA Scalar multiplied with the matrix-vector product
A Input matrix A
LDA Leading dimension of matrix A
X First input vector, must be at least: (\fvar{N}-1)\mult\abs{\fvar{INCX}} + 1
INCX Distance between individual elements in X
BETA Scalar multiplied with vector Y
Y Second vector, must be at least: (\fvar{N}-1)\mult\abs{\fvar{INCY}} + 1
INCY Distance between individual elements in Y