Visible to Intel only — GUID: GUID-13781DBD-0ED1-467E-99E2-3736C073AC87
Visible to Intel only — GUID: GUID-13781DBD-0ED1-467E-99E2-3736C073AC87
cblas_?sctr
Converts compressed sparse vectors into full storage form.
void cblas_ssctr (const MKL_INT nz, const float *x, const MKL_INT *indx, float *y);
void cblas_dsctr (const MKL_INT nz, const double *x, const MKL_INT *indx, double *y);
void cblas_csctr (const MKL_INT nz, const void *x, const MKL_INT *indx, void *y);
void cblas_zsctr (const MKL_INT nz, const void *x, const MKL_INT *indx, void *y);
- mkl.h
The ?sctr routines scatter the elements of the compressed sparse vector (nz, x, indx) to a full-storage vector y. The routines modify only the elements of y whose indices are listed in the array indx:
y[indx[i]] = x[i], for i=0,1,... ,nz-1.
- nz
-
The number of elements of x to be scattered.
- indx
-
Specifies indices of elements to be scattered.
Array, size at least nz.
- x
-
Array, size at least nz.
Contains the vector to be converted to full-storage form.
- y
-
Array, size at least max(indx[i]).
Contains the vector y with updated elements.