naginterfaces.library.blas.zdotui(x, indx, y)[source]

zdotui computes the scalar product of an unconjugated sparse complex vector with a complex vector.

For full information please refer to the NAG Library document for f06gr

xcomplex, array-like, shape

The compressed vector . contains for .

indxint, array-like, shape

must contain the set of indices .

ycomplex, array-like, shape

The vector . Only elements corresponding to indices in are accessed.


The value of the scalar product.


No equivalent traditional C interface for this routine exists in the NAG Library.

zdotui returns the value of the scalar product

where is a sparse complex vector stored in compressed form, and is a complex vector in full storage form.


Dodson, D S, Grimes, R G and Lewis, J G, 1991, Sparse extensions to the Fortran basic linear algebra subprograms, ACM Trans. Math. Software (17), 253–263