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

◆ zspmv()

void zspmv ( char  uplo,
int  n,
doublecomplex  alpha,
doublecomplex  ap[],
doublecomplex  x[],
int  incx,
doublecomplex  beta,
doublecomplex  y[],
int  incy 
)

y <- αAx + βy (complex symmetric matrices in packed form) (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, supplied in packed form.
Parameters
[in]uploSpecifies whether the upper or lower triangular part of the matrix A is supplied in the packed array ap[] as follows:
= 'U': The upper triangular part of A is supplied in ap[]
= 'L': The lower triangular part of A is supplied in ap[]
[in]nOrder of the matrix A. (n >= 0) (If n = 0, returns without computation)
[in]alphaScalar alpha.
[in]ap[]Array ap[lap] (lap >= n(n + 1)/2)
n x n symmetric matrix A in packed form. (Only upper or lower triangular part is stored)
[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