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

◆ dsymv()

void dsymv ( char  uplo,
int  n,
double  alpha,
int  lda,
double  a[],
double  x[],
int  incx,
double  beta,
double  y[],
int  incy 
)

y <- αAx + βy (symmetric matrices) (BLAS 2)

Purpose
This routine performs the matrix-vector operation
y <- alpha*A*x + beta*y
double beta(double a, double b)
Beta function B(a, b)
Definition beta.cpp:79
where alpha and beta are scalars, x and y are vectors 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]ldaLeading dimension of the two dimensional array a[][]. (lda >= max(1, n))
[in]a[][]Array a[la][lda] (la >= n)
n x n symmetric matrix A. (Only upper or lower triangular part is to be referenced)
[in]x[]Array x[lx] (lx >= 1 + (n - 1)*abs(incx))
Input vector x.
[in]incxStorage spacing between elements of x. (incx != 0)
[in]betaScalar beta. When beta is supplied as zero then y[] need not be set on input.
[in,out]y[]Array y[ly] (ly >= 1 + (n - 1)*abs(incy))
[in] Input vector y.
[out] Output vector. (= alpha*A*x + beta*y)
[in]incyStorage spacing between elements of y. (incy != 0)
Reference
BLAS