- naginterfaces.library.blas.zaxpyi(a, x, indx, y)¶
zaxpyiadds a scaled sparse complex vector to an unscaled complex vector.
For full information please refer to the NAG Library document for f06gt
The scalar .
- xcomplex, array-like, shape
The compressed vector . contains for .
- indxint, array-like, shape
The indices of the elements in the compressed vector .
- ycomplex, array-like, shape
The vector . Only elements corresponding to indices in are accessed.
- ycomplex, ndarray, shape
The updated vector .
- (errno )
On entry, error in parameter .
Constraint: the indices must be distinct.
No equivalent traditional C interface for this routine exists in the NAG Library.
zaxpyiperforms the operation
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