CDOTCI(3) MathKeisan SPARSE BLAS routine CDOTCI(3)
NAME
CDOTCI - Complex conjugate indexed dot product
SYNOPSIS
COMPLEX FUNCTION CDOTCI( NZ, X, INDX, Y )
INTEGER NZ, INDX
COMPLEX X, Y
PURPOSE
CDOTCI computes the conjugated vector inner product of a complex sparse
vector X stored in compressed form ( X, INDX ) with a complex vector
Y in full storage form. Only the elements of Y whose indices are
listed in INDX are referenced.
CDOTCI computes:
T NZ
CDOTCI <-- X * Y = Sum CONJG( X(i) ) *Y(INDX(i))
i=1
T
Where X is the complex conjugate of X, and Y is a complex vector.
ARGUMENTS
CDOTCI (output) COMPLEX
Complex function value equal to the conjugated vector inner
product. If NZ .le. 0 CDOTCI is set to zero.
NZ (input) INTEGER
Number of elements in the compressed form.
X (input) COMPLEX
Array containing the values of the compressed form.
INDX (input) INTEGER
Array containing the indices of the compressed form.
Y (input) COMPLEX
Array, on input, which contains the vector Y in full storage
form. Only the elements corresponding to the indices in INDX
will be accessed.
FURTHER DETAILS
Sparse BLAS algorithm is from ACM algorithm 692 by D. Dodson, R.
Grimes, and J. Lewis.
SEE ALSO
sblas(3)
MathKeisan June 1991 CDOTCI(3)