Developer Reference for Intel® oneAPI Math Kernel Library for C
?lakf2
Forms a matrix containing Kronecker products between the given matrices.
Syntax
void slakf2(lapack_int *m, lapack_int *n, float *a, lapack_int *lda, float *b, float *d,
float *e, float *z, lapack_int *ldz);
void dlakf2(lapack_int *m, lapack_int *n, double *a, lapack_int *lda, double *b,
double *d, double *e, double *z, lapack_int *ldz);
void clakf2(lapack_int *m, lapack_int *n, lapack_complex *a, lapack_int *lda,
lapack_complex *b, lapack_complex *d, lapack_complex *e, lapack_complex *z,
lapack_int *ldz);
void zlakf2(lapack_int *m, lapack_int *n, lapack_complex_double *a, lapack_int *lda,
lapack_complex_double *b, lapack_complex_double *d, lapack_complex_double *e,
lapack_complex_double *z, lapack_int *ldz);
Include Files
mkl.h
Description
The routine ?lakf2 forms the 2* m * n by 2* m * n matrix Z .
, where In is the identity matrix of size n and XT is the transpose of X . kron(X, Y) is the Kronecker product between the matrices X and Y .
Input Parameters
m
Size of matrix, m ≥ 1
n
Size of matrix, n ≥ 1
- a
-
REAL for slakf2 , DOUBLE PRECISION for dlakf2 , COMPLEX for clakf2 , DOUBLE COMPLEX for zlakf2 , Array, size lda -by- n . The matrix A in the output matrix Z .
lda
The leading dimension of a , b , d , and e . lda≥m+n .
- b
-
REAL for slakf2 , DOUBLE PRECISION for dlakf2 , COMPLEX for clakf2 , DOUBLE COMPLEX for zlakf2 , Array, size lda by n . Matrix used in forming the output matrix Z .
- d
-
REAL for slakf2 , DOUBLE PRECISION for dlakf2 , COMPLEX for clakf2 , DOUBLE COMPLEX for zlakf2 , Array, size lda by m . Matrix used in forming the output matrix Z .
- e
-
REAL for slakf2 , DOUBLE PRECISION for dlakf2 , COMPLEX for clakf2 , DOUBLE COMPLEX for zlakf2 , Array, size lda by n . Matrix used in forming the output matrix Z .
ldz
The leading dimension of Z . ldz≥ 2* m*n .
Output Parameters
- z
-
REAL for slakf2 , DOUBLE PRECISION for dlakf2 , COMPLEX for clakf2 , DOUBLE COMPLEX for zlakf2 , Array, size ldz -by-2* m * n . The resultant Kronecker m * n *2 -by- m * n *2 matrix.