naginterfaces.library.blas.zsctr

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

zsctr scatters the elements of a sparse complex vector stored in compressed form, into a complex vector in full storage form.

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

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06gwf.html

Parameters
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 .

Returns
ycomplex, ndarray, shape

The vector , with the elements corresponding to indices in altered.

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: the indices must be distinct.

Notes

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

References

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