|
◆ zgemv()
void zgemv |
( |
char |
trans, |
|
|
int |
m, |
|
|
int |
n, |
|
|
doublecomplex |
alpha, |
|
|
int |
lda, |
|
|
doublecomplex |
a[], |
|
|
doublecomplex |
x[], |
|
|
int |
incx, |
|
|
doublecomplex |
beta, |
|
|
doublecomplex |
y[], |
|
|
int |
incy |
|
) |
| |
y <- αAx + βy, y <- αATx + βy or y <- αAHx + βy (complex 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 matrix.
- Parameters
-
[in] | trans | Specifies 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] | m | Number of rows of the matrix A. (m >= 0) (If m = 0, returns without computation) |
[in] | n | Number of columns of the matrix A. (n >= 0) (If n = 0, returns without computation) |
[in] | alpha | Scalar alpha. |
[in] | lda | Leading dimension of the two dimensional array a[][] (lda >= max(1, m)) |
[in] | a[][] | Array a[la][lda] (la >= n)
m x n matrix A. |
[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] | incx | Storage spacing between elements of x. (incx != 0) |
[in] | beta | Scalar 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] | incy | Storage spacing between elements of y. (incy != 0) |
- Reference
- BLAS
|