Intel® oneAPI Math Kernel Library Developer Reference - C
Unpacks matrices from Compact format to standard (row- or column-major, pointer-to-pointer) format.
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);
The routine unpacks nm Compact format matrices Ac from array ap into standard (row- or column-major, pointer-to-pointer) format in array A.
Specifies whether two-dimensional array storage is row-major (MKL_ROW_MAJOR) or column-major (MKL_COL_MAJOR).
layout = MKL_COL_MAJOR |
lda must be at least max (1,rows). |
layout = MKL_ROW_MAJOR |
lda must be at least max (1,columns). |
layout = MKL_COL_MAJOR |
ap has size ldap*columns*nm. |
layout = MKL_ROW_MAJOR |
ap has size ldap*rows*nm. |
layout = MKL_COL_MAJOR |
ldap must be at least max (1,rows). |
layout = MKL_ROW_MAJOR |
ldap must be at least max (1,columns). |
The values of ldap used in mkl_?geunpack_compact must be consistent with the values used in mkl_?get_size_compact and mkl_?gepack_compact.
layout = MKL_COL_MAJOR |
a has size lda*columns*nm. |
layout = MKL_ROW_MAJOR |
a has size lda*rows*nm. |