Developer Reference

  • 0.9
  • 09/09/2020
  • Public Content
Contents

v?Unpack

Copies elements of a vector with unit increment to an array with specified indexing.

Syntax

vsUnpackI
(
n
,
a
,
y
,
incy
)
;
vsUnpackV
(
n
,
a
,
y
,
iy
)
;
vsUnpackM
(
n
,
a
,
y
,
my
)
;
vdUnpackI
(
n
,
a
,
y
,
incy
)
;
vdUnpackV
(
n
,
a
,
y
,
iy
)
;
vdUnpackM
(
n
,
a
,
y
,
my
)
;
vcUnpackI
(
n
,
a
,
y
,
incy
)
;
vcUnpackV
n
,
a
,
y
,
iy
)
;
vcUnpackM
(
n
,
a
,
y
,
my
)
;
vzUnpackI
(
n
,
a
,
y
,
incy
)
;
vzUnpackV
(
n
,
a
,
y
,
iy
)
;
vzUnpackM
(
n
,
a
,
y
,
my
)
;
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
vsUnpackI
,
vsUnpackV
,
vsUnpackM
const double*
for
vdUnpackI
,
vdUnpackV
,
vdUnpackM
const MKL_Complex8*
for
vcUnpackI
,
vcUnpackV
,
vcUnpackM
const MKL_Complex16*
for
vzUnpackI
,
vzUnpackV
,
vzUnpackM
Specifies the pointer to an array of size at least
n
that contains the input vector
a
.
incy
const MKL_INT
for
vsUnpackI
,
vdUnpackI
,
vcUnpackI
,
vzUnpackI
Specifies the increment for the elements of
y
.
iy
const int*
for
vsUnpackV
,
vdUnpackV
,
vcUnpackV
,
vzUnpackV
Specifies the pointer to an array of size at least
n
that contains the index vector for the elements of
a
.
my
const int*
for
vsUnpackM
,
vdUnpackM
,
vcUnpackM
,
vzUnpackM
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
vsUnpackI
,
vsUnpackV
,
vsUnpackM
double*
for
vdUnpackI
,
vdUnpackV
,
vdUnpackM
const MKL_Complex8*
for
vcUnpackI
,
vcUnpackV
,
vcUnpackM
const MKL_Complex16*
for
vzUnpackI
,
vzUnpackV
,
vzUnpackM
Specifies the pointer to an array that contains the output vector
y
.
The array must be:
  • for
    v?UnpackI
    , at least
    (1 + (
    n
    -1)*
    incy
    )
  • for
    v?UnpackV
    , at least
    max(
    n
    ,max(
    ia
    [j]) ),j=0,...,
    n
    -1
    ,
  • for
    v?UnpackM
    , at least
    n
    .

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