Developer Reference for Intel® oneAPI Math Kernel Library for C
v?Pack
Copies elements of an array with specified indexing to a vector with unit increment.
Syntax
vsPackI ( n , a , inca , y ) ;
vsPackV ( n , a , ia , y ) ;
vsPackM ( n , a , ma , y ) ;
vdPackI ( n , a , inca , y ) ;
vdPackV ( n , a , ia , y ) ;
vdPackM ( n , a , ma , y ) ;
vcPackI ( n , a , inca , y ) ;
vcPackV ( n , a , ia , y ) ;
vcPackM ( n , a , ma , y ) ;
vzPackI ( n , a , inca , y ) ;
vzPackV ( n , a , ia , y ) ;
vzPackM ( n , a , ma , y ) ;
Include Files
mkl.h
Input Parameters
Name |
Type |
Description |
|---|---|---|
n |
const MKL_INT |
Specifies the number of elements to be calculated. |
a |
const float* for vsPackI , vsPackV , vsPackM const double* for vdPackI , vdPackV , vdPackM const MKL_Complex8* for vcPackI , vcPackV , vcPackM const MKL_Complex16* for vzPackI , vzPackV , vzPackM |
Specifies pointer to an array that contains the input vector a . The arrays must be: * for v?PackI , at least (1 + (n-1)*inca) * for v?PackV , at least max( n,max(ia[j]) ), j=0, …, n-1 * for v?PackM , at least n . |
inca |
const MKL_INT for vsPackI , vdPackI , vcPackI , vzPackI |
Specifies the increment for the elements of a . |
ia |
const int* for vsPackV , vdPackV , vcPackV , vzPackV |
Specifies the pointer to an array of size at least n that contains the index vector for the elements of a . |
ma |
const int* for vsPackM , vdPackM , vcPackM , vzPackM |
Specifies the pointer to an array of size at least n that contains the mask vector for the elements of a . |
Output Parameters
Name |
Type |
Description |
|---|---|---|
y |
float* for vsPackI , vsPackV , vsPackM double* for vdPackI , vdPackV , vdPackM const MKL_Complex8* for vcPackI , vcPackV , vcPackM const MKL_Complex16* for vzPackI , vzPackV , vzPackM |
Pointer to an array of size at least n that contains the output vector y . |