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

◆ zgerc()

void zgerc ( int  m,
int  n,
doublecomplex  alpha,
doublecomplex  x[],
int  incx,
doublecomplex  y[],
int  incy,
int  lda,
doublecomplex  a[] 
)

Rank 1 operation: A <- αxyH + A (complex matrices) (BLAS 2)

Purpose
This routine performs the rank 1 operation
A <- alpha*x*y^H + A
where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m x n matrix.
Parameters
[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]alphaScalar alpha.
[in]x[]Array x[lx] (lx >= 1 + (m - 1)*abs(incx))
Vector x.
[in]incxStorage spacing between elements of x. (incx != 0)
[in]y[]Array y[ly] (ly >= 1 + (n - 1)*abs(incy))
Vector y.
[in]incyStorage spacing between elements of y. (incy != 0)
[in]ldaLeading dimension of the two dimensional array a[][]. (lda >= max(1, m))
[in,out]a[][]Array a[la][lda] (la >= n)
[in] Input matrix A.
[out] Output matrix. (= alpha*x*y^H + A)
Reference
BLAS