Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6536 Discussions

Does MKL has any subroutines for Kronecker Product?

志强_赵_
Beginner
356 Views
0 Kudos
1 Solution
Ying_H_Intel
Employee
356 Views

Right, there is no exact function to do this. 

MKL lapack provide one function ?lakf2

Forms a matrix containing Kronecker products
between the given matrices.


Include Files
• mkl.h
Description
The routine ?lakf2forms the 2*m*nby 2*m*nmatrix Z.

You may check if it can work. Otherwise, you may call

for  loop mxn 

mkl_?omatcopy (aij * B) 
Performs scaling and out-place transposition/copying
of matrices.

do Kron(A,B)

Best Regards,

Ying
,
,

View solution in original post

2 Replies
Gennady_F_Intel
Moderator
356 Views

see this thread -  https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/592457

 

Ying_H_Intel
Employee
357 Views

Right, there is no exact function to do this. 

MKL lapack provide one function ?lakf2

Forms a matrix containing Kronecker products
between the given matrices.


Include Files
• mkl.h
Description
The routine ?lakf2forms the 2*m*nby 2*m*nmatrix Z.

You may check if it can work. Otherwise, you may call

for  loop mxn 

mkl_?omatcopy (aij * B) 
Performs scaling and out-place transposition/copying
of matrices.

do Kron(A,B)

Best Regards,

Ying
,
,

Reply