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

◆ zgbmv()

void zgbmv ( char  trans,
int  m,
int  n,
int  kl,
int  ku,
doublecomplex  alpha,
int  ldab,
doublecomplex  ab[],
doublecomplex  x[],
int  incx,
doublecomplex  beta,
doublecomplex  y[],
int  incy 
)

y <- αAx + βy, y <- αATx + βy or y <- αAHx + βy (complex band matrices) (BLAS 2)

Purpose
This routine performs one of the matrix-vector operations
y <- alpha*A*x + beta*y, y <- alpha*A^T*x + beta*y or y <- alpha*A^H*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 m x n band matrix, with kl sub-diagonals and ku super-diagonals.
Parameters
[in]transSpecifies the operation to be performed as follows:
= 'N': y <- alpha*A*x + beta*y.
= 'T': y <- alpha*A^T*x + beta*y.
= 'C': y <- alpha*A^H*x + beta*y.
[in]mNumber of rows of the matrix A. (m >= 0) (If m = 0, returns without computation)
[in]nNumber of columns of the matrix A. (n >= 0) (If n = 0, returns without computation)
[in]klNumber of sub-diagonals of the matrix A. (kl >= 0)
[in]kuNumber of super-diagonals of the matrix A. (ku >= 0)
[in]alphaScalar alpha.
[in]ldabLeading dimension of the two dimensional array ab[][]. (ldab >= kl + ku + 1)
[in]ab[][]Array ab[lab][ldab] (lab >= n)
m x n band matrix A in kl+ku+1 x n band matrix form.
[in]x[]Array x[lx] (lx >= 1 + (n - 1)*abs(incx) if trans = 'N', lx >= 1 + (m - 1)*abs(incx) otherwise)
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 + (m - 1)*abs(incy) if trans = 'N', ly >= 1 + (n - 1)*abs(incy) otherwise)
[in] Input vector y.
[out] Output vector. (= alpha*A*x + beta*y, alpha*A^T*x + beta*y or alpha*A^H*x + beta*y)
[in]incyStorage spacing between elements of y. (incy != 0)
Reference
BLAS