naginterfaces.library.blas.dsctr

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

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

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

https://support.nag.com/numeric/nl/nagdoc_30.1/flhtml/f06/f06ewf.html

Parameters
xfloat, array-like, shape

The nonzero elements of the sparse vector .

indxint, array-like, shape

must contain the index of in the sparse vector , for .

yfloat, array-like, shape

The vector .

Returns
yfloat, ndarray, shape

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

Notes

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

dsctr scatters the elements of a vector , stored in compressed form, into a vector, , in full storage form.

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