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

Does MKL has any subroutines for Kronecker Product?

志强_赵_
Beginner
808 Views
0 Kudos
1 Solution
Ying_H_Intel
Employee
808 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
808 Views

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

 

0 Kudos
Ying_H_Intel
Employee
809 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