mkl_?geunpack_compact
mkl_?geunpack_compact
Unpacks matrices from Compact format to standard (row- or column-major, pointer-to-pointer) format.
Syntax
mkl_sgeunpack_compact
(
MKL_LAYOUT
layout
,
MKL_INT
rows
,
MKL_INT
columns
,
float
*
const
*a
,
MKL_INT
lda
,
const
float
*ap
,
MKL_INT
ldap
,
MKL_COMPACT_PACK
format
,
MKL_INT
nm
);
mkl_dgeunpack_compact
(
MKL_LAYOUT
layout
,
MKL_INT
rows
,
MKL_INT
columns
,
double
*
const
*a
,
MKL_INT
lda
,
const
double
*ap
,
MKL_INT
ldap
,
MKL_COMPACT_PACK
format
,
MKL_INT
nm
);
mkl_cgeunpack_compact
(
MKL_LAYOUT
layout
,
MKL_INT
rows
,
MKL_INT
columns
,
mkl_compact_complex_float
*
const
*a
,
MKL_INT
lda
,
const
float
*ap
,
MKL_INT
ldap
,
MKL_COMPACT_PACK
format
,
MKL_INT
nm
);
mkl_zgeunpack_compact
(
MKL_LAYOUT
layout
,
MKL_INT
rows
,
MKL_INT
columns
,
mkl_compact_complex_double
*
const
*a
,
MKL_INT
lda
,
const
double
*ap
,
MKL_INT
ldap
,
MKL_COMPACT_PACK
format
,
MKL_INT
nm
);
Description
The routine unpacks
nm
Compact format matrices Ac
from array ap
into standard (row- or column-major, pointer-to-pointer) format in array A
.Input Parameters
- layout
- Specifies whether two-dimensional array storage is row-major (MKL_ROW_MAJOR) or column-major (MKL_COL_MAJOR).
- rows
- The number of rows of A; rows >= 0.
- columns
- The number of columns of A; columns >= 0.
- lda
- Leading dimension of A.layout=MKL_COL_MAJORldamust be at least max (1,rows).layout=MKL_ROW_MAJORldamust be at least max (1,columns).
- ap
- Array storing the compact format of input matrices Ac. See Compact Formator mkl_get_format_compact for details.layout=MKL_COL_MAJORaphas sizeldap*columns*nm.layout=MKL_ROW_MAJORaphas sizeldap*rows*nm.
- ldap
- Leading dimension of of Ac.layout=MKL_COL_MAJORldapmust be at least max (1,rows).layout=MKL_ROW_MAJORldapmust be at least max (1,columns).The values ofldapused inmkl_?geunpack_compactmust be consistent with the values used inmkl_?get_size_compactandmkl_?gepack_compact.
- format
- Specifies the format of the compact matrices. See Compact Format ormkl_get_format_compact for details.
- nm
- Total number of matrices that will be stored in Compact format.
Output Parameters
- a
- A standard format (row- or column-major, pointer-to-pointer) array, storingnmoutputAmatrices.layout=MKL_COL_MAJORahas sizelda*columns*nm.layout=MKL_ROW_MAJORahas sizelda*rows*nm.