Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
7234 Discussions

Does MKL has any subroutines for Kronecker Product?

志强_赵_
Beginner
1,653 Views
0 Kudos
1 Solution
Ying_H_Intel
Moderator
1,653 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

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
1,653 Views

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

 

0 Kudos
Ying_H_Intel
Moderator
1,654 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
,
,

0 Kudos
Reply