Community
cancel
Showing results for 
Search instead for 
Did you mean: 
志强_赵_
Beginner
159 Views

Does MKL has any subroutines for Kronecker Product?

Jump to solution

Like the subject. Anyone know about it?

0 Kudos

Accepted Solutions
Ying_H_Intel
Employee
159 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
159 Views

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

 

Ying_H_Intel
Employee
160 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

Reply