Contents

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
.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804