Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Comunicados
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 Discussões

Does MKL has any subroutines for Kronecker Product?

志强_赵_
Principiante
1.655 Visualizações
0 Kudos
1 Solução
Ying_H_Intel
Moderador
1.655 Visualizações

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
,
,

Ver solução na publicação original

2 Respostas
Gennady_F_Intel
Moderador
1.655 Visualizações

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

 

Ying_H_Intel
Moderador
1.656 Visualizações

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
,
,

Responder