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

◆ zdotc_sub()

void zdotc_sub ( doublecomplex *  dotc,
int  n,
doublecomplex  zx[],
int  incx,
doublecomplex  zy[],
int  incy 
)

(Subroutine) xH * y (complex vector) (BLAS 1)

Purpose
This routine forms the dot product of two complex vectors (x^H*y). zdotc_sub is the subroutine version of zdotc.
Parameters
[out]dotcDot product of vectors x and y (x^H*y).
[in]nNumber of elements in vectors x and y. (If n <= 0, returns 0)
[in]zx[]Array zx[lzx] (lzx >= 1 + (n - 1)*abs(incx))
Input vector x.
[in]incxStorage spacing between elements of x.
[in]zy[]Array zy[lzy] (lzy >= 1 + (n - 1)*abs(incy))
Input vector y.
[in]incyStorage spacing between elements of y.
Reference
BLAS